获取断言时出错,那是什么?
Error acquiring assertions, what is that?
我正在调试这个 iPhone 应用程序,它基本上是一个工单管理器,在 webkit 视图中 运行,从网站加载内容。在某些时候,您可以单击并呼叫用户的电话图标。
当我点击它时,我看到了这个错误:
[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)}>
你们知道这是怎么回事吗?
我在 iOS 15.1 中遇到了同样的问题,我尝试在应用程序中播放 youtube 视频,我添加了隐私列表
<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>
我正在调试这个 iPhone 应用程序,它基本上是一个工单管理器,在 webkit 视图中 运行,从网站加载内容。在某些时候,您可以单击并呼叫用户的电话图标。
当我点击它时,我看到了这个错误:
[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)}>
你们知道这是怎么回事吗?
我在 iOS 15.1 中遇到了同样的问题,我尝试在应用程序中播放 youtube 视频,我添加了隐私列表
<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>