반응형
Xcode 10은 com.apple.commcenter.coretelephony.xpc를 깨는 것 같습니다
나는으로 업그레이드 Xcode 10
에 High Sierra
지금은 보상 광고 예제 프로젝트 의 AdMob에서 그 불평 com.apple.commcenter.coretelephony.xpc
제대로 작동하지 않습니다.
활성화해야하는 새 권한이 있습니까? 단서없이 몇 시간을 찾고 있습니다.
업데이트 : 이것은 시뮬레이터에서만 발생합니다. 장치에서는 잘 작동합니다. 새로운 제한을 추가했을 것입니다.
2018-09-22 10:59:39.730813+0100 RewardedVideoExample[1449:26168] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.
2018-09-22 10:59:40.031746+0100 RewardedVideoExample[1449:26281] Failed to create remote object proxy: 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.}
2018-09-22 10:59:40.031865+0100 RewardedVideoExample[1449:26261] Failed to ping server after delegate was set
2018-09-22 10:59:40.031938+0100 RewardedVideoExample[1449:26262] Failed to create synchronous remote object proxy: 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.}
2018-09-22 10:59:40.032054+0100 RewardedVideoExample[1449:26262] [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.}
2018-09-22 10:59:40.032353+0100 RewardedVideoExample[1449:26262] Failed to create synchronous remote object proxy: 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.}
2018-09-22 10:59:40.032451+0100 RewardedVideoExample[1449:26262] [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.}
2018-09-22 10:59:40.035631+0100 RewardedVideoExample[1449:26262] Failed to create synchronous remote object proxy: 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.}
2018-09-22 10:59:40.035714+0100 RewardedVideoExample[1449:26262] [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.}
2018-09-22 10:59:40.259658+0100 RewardedVideoExample[1449:26314] WF: === Starting WebFilter logging for process RewardedVideoExample
2018-09-22 10:59:40.259805+0100 RewardedVideoExample[1449:26314] WF: _userSettingsForUser : (null)
2018-09-22 10:59:40.259876+0100 RewardedVideoExample[1449:26314] WF: _WebFilterIsActive returning: NO
2018-09-22 10:59:41.020170+0100 RewardedVideoExample[1449:26282] <Google> Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
Reward based video ad failed to load: No ad returned from any ad server.
2018-09-22 11:00:09.288227+0100 RewardedVideoExample[1449:26168] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/houmie/Library/Developer/CoreSimulator/Devices/3FF81C00-0DA2-4F98-8964-A84F14FB14A6/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-09-22 11:00:09.289859+0100 RewardedVideoExample[1449:26168] [MC] Reading from private effective user settings.
터미널에서 실행하면 사라집니다.
xcrun simctl spawn booted log config --mode "level:off" --subsystem com.apple.CoreTelephony
시뮬레이터를 다시 시작하는 해결 방법을 찾았습니다.
XCode 10.2의 시뮬레이터와 장치 모두에서 잘 작동합니다.
1)Add CoreTelephony.framework (Optional)
2)Executing following command in terminal
xcrun simctl spawn booted log config --mode "level:off" --subsystem
com.apple.CoreTelephony
3)From Xcode menu open: Product > Scheme > Edit Scheme
On your Environment Variables set OS_ACTIVITY_MODE = disable
4)Restart simulator
실제 장치에서이 문제가 발생하는 경우 CoreTelephony.framework를 프로젝트에 연결하면 문제가 해결됩니다.
그러나 시뮬레이터에 대해서는 수정하지 않습니다.
반응형
'developer tip' 카테고리의 다른 글
IntelliJ 자동 저장 끄기 (0) | 2020.12.25 |
---|---|
APP_INITIALIZER는“순환 종속성을 인스턴스화 할 수 없습니다! (0) | 2020.12.25 |
jQuery에서 두 태그 사이의 모든 콘텐츠를 선택하는 방법 (0) | 2020.12.25 |
기본 클래스 멤버 데이터에 대한 파생 템플릿 클래스 액세스 (0) | 2020.12.25 |
이것은 무엇을 의미 하는가? (0) | 2020.12.25 |