Thanks! The Xcode 15.1 beta 1 fixed the issue. Thanks, again!
Post
Replies
Boosts
Views
Activity
You were so close! Just have to call the identifier method on UTTypeJPEG.
CGImageDestinationRef destinationRef = CGImageDestinationCreateWithURL((__bridge CFURLRef)theURL, (__bridge CFStringRef)UTTypeJPEG.identifier , 1, NULL);