itemProvider.loadObject(ofClass: UIImage.self) should work with any image type (HEIC images may be converted to JEPG images on the fly). And what if you need the original image data? Is there a way to not allow HEIC images to be converted to JPEG images?
Post
Replies
Boosts
Views
Activity
u can try use iphone or ipad device with iOS 14.
Sure, if I had a physical device that I could install a beta version onto, but I don't. The simulators should work as well, I don't think this is a valid argument - they are an important tool in the development toolkit.
hasIncrementalChanges、fetchResultBeforeChanges、fetchResultAfterChanges I haven't checked the hasIncrementalChanges value yet (it's in a different git branch I can't / don't want to access right now), so this might be false, but it seems weird if that was the case. Adding access to a single photo would require me to refresh "everything"? Seems odd, but I'll wait for an Apple engineer to provide feedback I guess! Thanks for the tip here though!
These issues still exist in the Xcode 12 GM build unfortunately. I am not sure how developers are supposed to support limited photo library access without using a physical device (for issue 1 at least), which is really unfortunate.
Hopefully I am missing something and this works somehow with the right setup/config/options/etc.... will wait for more feedback!
I'm also experiencing this issue.
After installing Xcode 14.3 Beta 2 I cannot deploy/run my app to simulators using XCode 14.2, I encounter the same issues as OP.
"Fixing" the build issues may be a valid recourse in some cases, but I do not have the time to fix everything right now. I would expect the previous release version of Xcode (14.2) to function correctly as it did before installing Xcode 14.3 beta 2 but it is not.
Apple, please fix this!