(iOS 14 specific?) Unable to export video asset from shared album when using AVAssetExportSession

Originator:melissa.he.131
Number:rdar://FB8815719 Date Originated:10/20/20
Status:Closed Resolved:Yes
Product:AVFoundation Product Version:
Classification:Incorrect/Unexpected Behavior Reproducible:Yes
 
I was seeing an error when trying to export a video from a shared album. The error message was "The operation could not be completed. An unknown error occurred (-17507)", and the NSError returned did not have any suggestions on how to fix the issue. The preset was AVAssetExportPresetPassthrough and the file output type was MOV.

I do not know why this asset did not work, but I was able to use this code with the same asset in iOS 13 without issues, so I suspect this is iOS 14 specific.

I generated the sysdiagnose, and the error occurred around October 20th, 2020, 4:15PM EST.

Comments

Fixed

I was advised to test on iOS 14.5 Beta 4, but I was already on 14.6. I was no longer able to reproduce the issue once I tried on 14.6.

By melissa.he.131 at June 15, 2021, 7:31 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com 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!