I have a problem with the AdMob service. When I set my "adUnitID" in Xcode to the banner app unit ID that I want, I get the following errors:
2019-02-27 16:03:01.812717-0500 GPA Calculator[32542:868329] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/pranavramesh/Library/Developer/CoreSimulator/Devices/D8B99435-B76C-4E13-9EDB-935C6FAC2220/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2019-02-27 16:03:01.813744-0500 GPA Calculator[32542:868329] [MC] Reading from private effective user settings.
2019-02-27 16:03:01.856595-0500 GPA Calculator[32542:868329] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.856598-0500 GPA Calculator[32542:868317] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.856781-0500 GPA Calculator[32542:868329] [NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.856789-0500 GPA Calculator[32542:868318] [Client] Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.856794-0500 GPA Calculator[32542:868317] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.857085-0500 GPA Calculator[32542:868318] [Client] Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.857517-0500 GPA Calculator[32542:868318] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.857663-0500 GPA Calculator[32542:868328] [Client] Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.857679-0500 GPA Calculator[32542:868329] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.857772-0500 GPA Calculator[32542:868329] [NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.858548-0500 GPA Calculator[32542:868329] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.858677-0500 GPA Calculator[32542:868328] [Client] Remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.858807-0500 GPA Calculator[32542:868329] [NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:01.858971-0500 GPA Calculator[32542:868318] [Client] Sending selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
2019-02-27 16:03:02.624669-0500 GPA Calculator[32542:868348] WF: === Starting WebFilter logging for process GPA Calculator
2019-02-27 16:03:02.624822-0500 GPA Calculator[32542:868348] WF: _userSettingsForUser : (null)
2019-02-27 16:03:02.624957-0500 GPA Calculator[32542:868348] WF: _WebFilterIsActive returning: NO
adView:didFailToReceiveAdWithError: Request Error: No ad to show..
I don't understand why I am receiving this error. In AdMob, all the payments are set up, I have successfully added a new app to the AdMob account, and when I use the test ad unit ID, everything works fine. Also, I have waited for 36 hours for the ad unit to register, but that doesn't do anything. I want to know why the real ad unit ID doesn't work.
override func viewDidLoad() {
super.viewDidLoad()
bottomAdBanner.adUnitID = "--- my ad unit ID ---"
bottomAdBanner.rootViewController = self
bottomAdBanner.delegate = self
let request = GADRequest()
request.testDevices = [kGADSimulatorID]
bottomAdBanner.load(request)
}
How can I fix this? (Also, do the other errors have anything to do with it, and if so, how do I fix those?)