I'm trying to monetize my app with MoPub for iOS 14, but my ad is not being shown and I get some errors that include Target is not running or required target entitlement is missing.
According to MoPub Support, this is NOT a problem with MoPub -- it's a problem with my app configuration. However, the problem only occurs if the MoPub framework is added to the project.
Here are the relevant logs:
I tried integrating the MoPub framework manually, and via cocoa pods -- with the same outcome.
Question: What entitlement(s) do I need to add to my app, assuming that this is an entitlements issue? How do I fix these errors?
Thank you!
Edit: I tried adding the "Access WiFi Information" capability and also the "App Transport Security Settings" -> "Allow Arbitrary Loads" .plist entry, to no avail.
According to MoPub Support, this is NOT a problem with MoPub -- it's a problem with my app configuration. However, the problem only occurs if the MoPub framework is added to the project.
Here are the relevant logs:
Code Block Initialized OM SDK version: 1.3.4-Mopub Attempting to load ad [assertion] 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:"Background" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing}> [ProcessSuspension] 0x10b0b8bc0 - ProcessAssertion: Failed to acquire RBS Background assertion 'WebProcess Background Assertion' for process with PID 18829, error: Error Domain=RBSAssertionErrorDomain Code=3 "Target is not running or required target entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"com.apple.webkit" name:"Background" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Target is not running or required target entitlement is missing} SDK initialized and ready to display ads. Initialized adapters: No adapters initialized Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
I tried integrating the MoPub framework manually, and via cocoa pods -- with the same outcome.
Question: What entitlement(s) do I need to add to my app, assuming that this is an entitlements issue? How do I fix these errors?
Thank you!
Edit: I tried adding the "Access WiFi Information" capability and also the "App Transport Security Settings" -> "Allow Arbitrary Loads" .plist entry, to no avail.