Hello,
using UIDocumentPickerViewController and startAccessingSecurityScopedResource(), I can access to a directory on iOS using Bookmark data, but when I save a Bookmark data, security-scoped bookmark not survive quitting the app and re-launching it.
I used the Apple example here but my app doesn't appear in Settings > Privacy > Files and Folders ?
Security-scoped bookmark is-it available on iOS ?
Thanks.
Post
Replies
Boosts
Views
Activity
Hello,
PMSessionValidatePrintSettings return always "false" on macOS
PMPrintSettings settings;
PMPrintSession session;
Boolean result;
PMCreateSession(&session);
PMSessionSetCurrentPMPrinter(session, printer);
PMCreatePrintSettings(&settings);
PMSessionDefaultPrintSettings(session, settings);
PMSetDuplex(settings, kPMDuplexTumble);
PMSessionValidatePrintSettings(session, settings, &result);
PMRelease(session);
PMRelease(settings);
if (result) NSLog (@"%@", @"changed");
else NSLog (@"%@", @"not changed");
Thanks
Hello,
on tvOS/Apple TV using Swift or Objective-C, is-it possible to get the key pressed by the HDMI-CEC remote controller of the TV (not the Siri remote controller) ?
Thanks
Hello,
I have found an example of Bluetooth RFCOMM client for macOS on GitHub.
I search now an example of Bluetooth RFCOMM server for macOS.
Thanks.
Hello,
I try to create a Bluetooth RFCOMM client and server on macOS, I tried using this project on GitHub but I have this message :
The device does not have the necessary services.
and it's impossible to connect to the device.
do you know an example project that working ?
Thanks
Hello,
I created a static library for iOS (*.a), I added using Swift Package Manager (SPM) in the project library "SDWebImage/SDWebImageAVIFCoder" - https://github.com/SDWebImage/SDWebImageAVIFCoder but when I try to use my static library I have this message error :
duplicate symbol OBJC_METACLASS$_SDGraphicsImageRenderer…
in the static library Mach_O files of "SDWebImageAVIFCoder" are duplicated
Thanks for your help
Hello,
I try to use a github project SDWebImage/SDWebImageAVIFCoder - https://github.com/SDWebImage/SDWebImageAVIFCoder
I open the terminal and I use "pod install" in the example directory
I have this message :
Analyzing dependencies
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
Downloading dependencies
Installing SDWebImage (5.10.4)
Installing SDWebImageAVIFCoder (0.8.0)
Installing libaom (1.0.2)
Installing libavif (0.8.1)
Installing libdav1d (0.8.0)
Generating Pods project
Integrating client project
Pod installation complete! There are 3 dependencies from the Podfile and 5 total pods installed.
[!] The `SDWebImageAVIFCoder_Tests [Debug]` target overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-SDWebImageAVIFCoder_Tests/Pods-SDWebImageAVIFCoder_Tests.debug.xcconfig'. This can lead to problems with the CocoaPods installation Use the `$(inherited)` flag, or
Remove the build settings from the target.
and when I try to build the macOS example in Xcode I have this message error :
Directory not found for option '-L/Users/user/Library/Developer/Xcode/DerivedData/SDWebImageAVIFCoder-avwnzlmckkghozaxqdmbdvoctahr/Build/Products/Debug/SDWebImage-macOS'
Directory not found for option '-L/Users/user/Library/Developer/Xcode/DerivedData/SDWebImageAVIFCoder-avwnzlmckkghozaxqdmbdvoctahr/Build/Products/Debug/SDWebImageAVIFCoder-macOS'
Directory not found for option '-L/Users/user/Library/Developer/Xcode/DerivedData/SDWebImageAVIFCoder-avwnzlmckkghozaxqdmbdvoctahr/Build/Products/Debug/libaom-macOS'
Directory not found for option '-L/Users/user/Library/Developer/Xcode/DerivedData/SDWebImageAVIFCoder-avwnzlmckkghozaxqdmbdvoctahr/Build/Products/Debug/libavif-macOS'
Directory not found for option '-L/Users/user/Library/Developer/Xcode/DerivedData/SDWebImageAVIFCoder-avwnzlmckkghozaxqdmbdvoctahr/Build/Products/Debug/libdav1d-macOS'
Library not found for -lSDWebImage-macOS
Thanks
Hello,
I try to add an exported UTI for a file with extension "lxb" so that Xcode recognizes it like a java file
<key>UTExportedTypeDeclarations</key>
		<array>
				<dict>
						<key>UTTypeIdentifier</key>
						<string>com.sun.java-source</string>
						<key>UTTypeReferenceURL</key>
						<string>http://www.java.com/</string>
						<key>UTTypeDescription</key>
						<string>Java source</string>
						<key>UTTypeIconFile</key>
						<string>com.sun.java-source.icns</string>
						<key>UTTypeConformsTo</key>
						<array>
								<string>public.source-code</string>
						</array>
						<key>UTTypeTagSpecification</key>
						<dict>
								<key>public.filename-extension</key>
								<array>
										<string>lxb</string>
								</array>
						</dict>
				</dict>
		</array>
but the file isn't highlighting in Xcode
Thanks