I'm experiencing the same issue. Maybe it relates with my case.
Firstly, this is my environmet:
iOS 18 Public Beta
Xcode 15.1
How to reproduce:
Load images using PHPickerViewController (in my case, I pick 500 images)
Convert loaded images to Data by using https://developer.apple.com/documentation/uikit/uiimage/1624115-jpegdata
Loaded images data will be uploaded.
When uploading process running, some images cannot be uploaded 414/500 photos are uploaded. 86 photos failed.
When uploading error, there is warning in debug console:
CGImageProviderGetContentHeadroom: Bad headroom value 0.000000 for SDR, returning 1.0
another issue reported by other developer:
https://stackoverflow.com/questions/78760760/image-upload-fails-with-error-invalid-image-data
Post
Replies
Boosts
Views
Activity
Hi @cupidchan , have you resolve it?
I have the same issue here