I am trying to export iCloud assets through AVAssetReader and AVAssetWriter but AVAssetReader fails to initialise using that asset. All other videos are working fine. Only iCloud shared album videos are causing trouble. The error AVAssetReader gives me is under:
Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-17507), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x2812d8ae0 {Error Domain=NSOSStatusErrorDomain Code=-17507 "(null)"}}
Is there any why to fix it or is there any other alternative ?