前提
Google広告(ネイティブアドバンス)をロードした時と広告を表示している画面に遷移すると下記のエラーが常に表示されます。
リワード広告も実装していますが、このエラーは表示されませんでした。
色々調べているとバナー広告でも同様のエラーが表示されるみたいです。
実機でビルドしています。
発生している問題・エラーメッセージ
[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}> [ProcessSuspension] 0x116004c00 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=28299, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
該当のソースコード
Swift
1var adLoader: GADAdLoader? 2 3let multipleAdsOptions = GADMultipleAdsAdLoaderOptions() 4multipleAdsOptions.numberOfAds = 5 5adLoader = GADAdLoader(adUnitID: "UnitID", rootViewController: nil, 6 adTypes: [.native], options: [multipleAdsOptions]) 7adLoader?.delegate = self 8adLoader?.load(GADRequest())
補足情報(FW/ツールのバージョンなど)
Xcode Version 13.3
iOS 15.4
Google-Mobile-Ads-SDK Version 9.1.0
あなたの回答
tips
プレビュー