New photos picker - error for HDR photos

I tested to sample code for the new photos picker (WWDC 2020 PHPickerDemo code). However, when I select the first image in the simulator (which happens to be an HDR image) it will not be displayed. Apparently the NSItemProvider can not convert the data into an UIImage and an error results.
Any solutions for HDR images?

Replies

It's a known issue (63426347). It should only affect transcoding on simulators. Devices shouldn't be affected.