(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:Open Resolved:No
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


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!