ioswkwebviewentitlements

Error acquiring assertions, what is that?


I am debugging this iPhone app that is basically a ticket manager that is running inside a webkit view, loading content from a website. At some point there is a telephone icon that you click and calls the user.

When I click that I see this error:

[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)}>

do you guys have any clue on what this is all about?


Solution

  • I have the same problem in iOS 15.1, I try to play a youtube video within the application, I have added the privacy list

    <config-file overwrite="true" parent="NSMicrophoneUsageDescription" target="*-Info.plist">
        <string>need microphone access to record sounds</string>
    </config-file>
        <config-file overwrite="true" parent="NSCameraUsageDescription" target="*-Info.plist">
        <string>need camera access for recording</string>
     </config-file>