When running our App on iOS 13.7 (iPad Simulator), Video and Audio does not play.
Same app runs without problem on iOS 14.
The XCode log file shows an Error “Client is missing required entitlement” (log excerpt below).
I googled extensively about the error, and it look like this is a bug in WebKit that was only fixed in iOS 14.
Is there any way to make it work anyway on iOS 13?
Any help is appreciated.
Log excerpt:
**2021-03-25 09:04:22.910240+0100 App[6701:868983] [assertion] Error acquiring assertion: <NSError: 0x600000f37720; domain: RBSAssertionErrorDomain; code: 2; reason: "Client is missing required entitlement"> {**
**userInfo = {**
**RBSAssertionAttribute = <RBSLegacyAttribute: 0x7fb2de311b90; requestedReason: MediaPlayback; reason: MediaPlayback; flags: PreventTaskSuspend | PreventTaskThrottleDown | WantsForegroundResourcePriority>;**
**}**
**}**
**2021-03-25 09:04:22.910867+0100 App[6701:868983] [ProcessSuspension] 0x104e66000 - ProcessAssertion() PID 6701 Unable to acquire assertion for process with PID 6701**
**2021-03-25 09:04:22.911316+0100 App[6701:868157] [ProcessSuspension] 0x104e66000 - ProcessAssertion::processAssertionWasInvalidated()**
**2021-03-25 09:04:22.913812+0100 App[6701:868983] [assertion] Error acquiring assertion: <NSError: 0x600000f74840; domain: RBSAssertionErrorDomain; code: 2; reason: "Client is missing required entitlement"> {**
**userInfo = {**
**RBSAssertionAttribute = <RBSLegacyAttribute: 0x7fb2de414570; requestedReason: MediaPlayback; reason: MediaPlayback; flags: PreventTaskSuspend | PreventTaskThrottleDown | WantsForegroundResourcePriority>;**
**}**
**}**
**2021-03-25 09:04:22.914043+0100 App[6701:868983] [ProcessSuspension] 0x104e66050 - ProcessAssertion() PID 6701 Unable to acquire assertion for process with PID 6714**
**2021-03-25 09:04:22.914192+0100 App[6701:868157] [ProcessSuspension] 0x104e66050 - ProcessAssertion::processAssertionWasInvalidated()**