ImageIO - Updating GPS properties fails silently on iOS 13 devices only

Number:rdar://7443335 Date Originated:November 12, 2019
Status:Open Resolved:
Product:ImageIO Product Version:
Classification: Reproducible:Always
When using any of the ImageIO APIs to set the GPS properties of an image, the GPS values don’t persist on the Image file on some devices.

- Works fine on iOS 13.1 Simulator
- Works fine on iOS 12.0 or later Simulator/Device

I’m able to reproduce this issue on multiple iOS 13 hardware devices (iPad and iPhone), in a sample empty project. The same code works fine on iOS 12.1 devices (iPad and iPhone) as well as on iOS 13.1 Simulators.

Steps to Reproduce:
1. Open the ModifyGPS Xcode Project.
2. Add a Breakpoint to Line 54
3. Run on iOS 12.1 Device

Also Perform Steps on iOS 13.0 Device. Note that the {GPS} dictionary key/value does not exist on the photo after running `updateImageAtURL:withLocation:` on iOS 13 devices.


Can also reproduce on iPad Air (6th Generation) running iOS 13.2 (17B84)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!