【发布时间】:2021-06-21 11:34:42
【问题描述】:
我正在拼命尝试在 Unity 中实施 Google AdMob 5.4,以便在 iOS 14 上运行。它在 Android 上运行良好,但在 iOS 上我只能显示测试广告,并且无法在生产版本中显示真正的奖励视频广告。在 Xcode 中调试会显示以下日志消息,该消息会在关闭测试广告后打印出来:
Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=3 "Target is not running or required target entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"com.apple.webkit" name:"Suspended" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing}>
[ProcessSuspension] 0x1167b9600 - ProcessAssertion: Failed to acquire RBS Suspended assertion 'WebProcess Suspended Assertion' for process with PID 29188, error: Error Domain=RBSAssertionErrorDomain Code=3 "Target is not running or required target entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"com.apple.webkit" name:"Suspended" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing}
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
我使用 pod 安装 AdMob 依赖项,还尝试手动添加 SKAdNetworkIdentifier,如 AdMob iOS Documentation 中所述。即使添加了NSUserTrackingUsageDescription key for iOS 14,我也无法解决问题。
有人知道我缺少什么吗?
任何帮助都将不胜感激。如果您需要更多信息,请告诉我。
【问题讨论】:
-
我在 iOS 14 上使用 MoPub 时遇到了同样的错误。你有没有运气解决这个问题?
-
很遗憾没有。如果我能找到解决方案,我会在这里发布答案。
-
您是否已将 GADApplicationIdentifier 添加到您的 Info.plist 文件中,如下所述:developers.google.com/admob/ios/…
标签: ios xcode unity3d admob ios14