23

I have a wkwebview and I selected the checkbox 'inline playback' which is suppose to make any video in the wkwebview to not autoplay and stay in the webpage and not go full screen.

This worked fine for me until my Xcode updated to 11!

I now get the following error but it lets the auto playing video to go full screen, when before it wouldn't.

2019-09-27 22:26:43.654625-0400 RPD[3848:126819] [assertion] Error acquiring assertion: <NSError: 0x600000c9c7b0; domain: RBSAssertionErrorDomain; code: 2; reason: "Required client entitlement is missing"> {
    userInfo = {
        RBSAssertionAttribute = <RBSLegacyAttribute: 0x7fe141f30d60; requestedReason: MediaPlayback; reason: MediaPlayback; flags: PreventTaskSuspend | PreventTaskThrottleDown | WantsForegroundResourcePriority>;
    }
}

I added the capability 'Background Modes' but enabling Audio, Airplay, Picture in picture does not do anything.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • I have exactly the same problem; it seems to happen while loading and/or trying to play audio after it has been loaded. Did you already find a solution? – dndr Oct 01 '19 at 10:01
  • 2
    @dndr, haven't found a solution yet and I want one so badly. Please post a answer here if you do find a solution as I need it! –  Oct 02 '19 at 00:03
  • Checking in on this. I don't suppose you ever figured it out? – MikeyWard Feb 15 '20 at 17:56
  • @MikeyWard, I did :) it went away with update, submitted app to app store, it works now. –  Feb 16 '20 at 05:19
  • @MikeyWard what did you update? – JPilson Dec 20 '20 at 12:02

0 Answers0