Offline HLS Fairplay playback error when the app is upgraded.

Hi Everyone,

My app supports Offline HLS FairPlay Playback, Once I download the Video, it will play the offline content until I upgrade my app to newer version.

I'm getting the below error.

Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x127f92670 {Error Domain=NSOSStatusErrorDomain Code=-1 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-1), NSURL=filepath .movpkg, NSLocalizedDescription=The operation could not be completed}

Could someone help me to resolve this issue.

Thank you

I'm getting the above error while loading asset through urlAsset.loadValuesAsynchronously

I'm getting the above error 

 urlAsset.loadValuesAsynchronously(
                forKeys: ["hasProtectedContent"],
                completionHandler: {
                 var error: NSError? = nil
                switch urlAsset.statusOfValue(
                    forKey: AVAssetLoaderDelegate.AssetLoaderKeys.hasProtectedContent,
                    error: &error) {
                     case .loaded:
                   // Success
                default:
                      // Error 
                   Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x127f92670 {Error Domain=NSOSStatusErrorDomain Code=-1 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-1), NSURL=filepath .movpkg, NSLocalizedDescription=The operation could not be completed}

                }
 })

Hello,

We would need more information to diagnose your problem. Could you please install CoreMedia logging profile from https://developer.apple.com/bug-reporting/profiles-and-logs/, grab a sysdiagnose and file a feedback report so that we can help you further. Thanks.

Offline HLS Fairplay playback error when the app is upgraded.
 
 
Q