Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xcode 10似乎破坏了com.apple.commcenter.corethony.xpc_Xcode_Admob_Xcode10_Core Telephony - Fatal编程技术网

Xcode 10似乎破坏了com.apple.commcenter.corethony.xpc

Xcode 10似乎破坏了com.apple.commcenter.corethony.xpc,xcode,admob,xcode10,core-telephony,Xcode,Admob,Xcode10,Core Telephony,我已经在High Sierra升级到了Xcode 10,现在AdMob抱怨com.apple.commcenter.corethony.xpc工作不正常 是否有我必须启用的新权利?我找了好几个小时没有任何线索 更新: 这只发生在模拟器上。在设备上,它工作正常。他们一定增加了新的限制 2018-09-22 10:59:39.730813+0100 RewardedVideoExample[1449:26168] libMobileGestalt MobileGestalt.c:890: MGIsD

我已经在High Sierra升级到了
Xcode 10
,现在AdMob抱怨
com.apple.commcenter.corethony.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.
2018-09-22 10:59:39.730813+0100 RewardedVideoExample[1449:26168]此平台不支持LibMobileGSTALT MOBILEGSTALT.c:890:MGIsDeviceOneOfType。
2018-09-22 10:59:40.031746+0100 RewardedVideoExample[1449:26281]未能创建远程对象代理:错误域=NSCOCAERRORDOMAIN代码=4099“与名为com.apple.commcenter.corethony.xpc的服务的连接无效。”用户信息={NSDebugDescription=与名为com.apple.commcenter.corethony.xpc的服务的连接无效。}
2018-09-22 10:59:40.031865+0100 RewardedVideoExample[1449:26261]在设置委托后ping服务器失败
2018-09-22 10:59:40.031938+0100 RewardedVideoExample[1449:26262]未能创建同步远程对象代理:错误域=NSCOCAERRORDOMAIN代码=4099“与名为com.apple.commcenter.corethony.xpc的服务的连接无效。”用户信息={NSDebugDescription=与名为com.apple.commcenter.corethony.xpc的服务的连接无效。}
2018-09-22 10:59:40.032054+0100 RewardedVideoExample[1449:26262][NetworkInfo]描述符查询返回错误:错误域=NSCOAERORDOMAIN代码=4099“与名为com.apple.commcenter.corethony.xpc的服务的连接无效。”用户信息={NSDebugDescription=与名为com.apple.commcenter.corethony.xpc的服务的连接无效。}
2018-09-22 10:59:40.032353+0100 RewardedVideoExample[1449:26262]未能创建同步远程对象代理:错误域=NSCOCAERRORDOMAIN代码=4099“与名为com.apple.commcenter.corethony.xpc的服务的连接无效。”用户信息={NSDebugDescription=与名为com.apple.commcenter.corethony.xpc的服务的连接无效。}
2018-09-22 10:59:40.032451+0100 RewardedVideoExample[1449:26262][NetworkInfo]描述符查询返回错误:错误域=NSCOAERORDOMAIN代码=4099“名为com.apple.commcenter.corethony.xpc的服务连接无效。”用户信息={NSDebugDescription=与名为com.apple.commcenter.corethony.xpc的服务的连接无效。}
2018-09-22 10:59:40.035631+0100 RewardedVideoExample[1449:26262]未能创建同步远程对象代理:错误域=NSCOCAERRORDOMAIN代码=4099“与名为com.apple.commcenter.corethony.xpc的服务的连接无效。”用户信息={NSDebugDescription=与名为com.apple.commcenter.corethony.xpc的服务的连接无效。}
2018-09-22 10:59:40.035714+0100 RewardedVideoExample[1449:26262][NetworkInfo]描述符查询返回错误:错误域=NSCOAERORDOMAIN代码=4099“与名为com.apple.commcenter.corethony.xpc的服务的连接无效。”用户信息={NSDebugDescription=与名为com.apple.commcenter.corethony.xpc的服务的连接无效。}
2018-09-22 10:59:40.259658+0100 RewardedVideoExample[1449:26314]WF:==为流程RewardedVideoExample启动WebFilter日志记录
2018-09-22 10:59:40.259805+0100 RewardedVideoExample[1449:26314]WF:_UserSettingsForser:(空)
2018-09-22 10:59:40.259876+0100 RewardedVideoExample[1449:26314]WF:_WebFilterisActiveReturning:否
2018-09-22 10:59:41.020170+0100 RewardedVideoExample[1449:26282]找不到名为com.google.DummyAdapter的广告网络适配器。请记住链接所有必需的广告网络适配器和SDK,并在构建目标的“其他链接器标志”设置中设置-ObjC。
无法加载基于奖励的视频广告:没有从任何广告服务器返回广告。
2018-09-22 11:00:09.288227+0100 RewardedVideoExample[1449:26168][MC]systemgroup.com.apple.configurationprofiles的系统组容器路径为/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]从私人有效用户设置读取。

我找到了一个重新启动模拟器的解决方法。

对于那些在真实设备中遇到此问题的人,将coretephoney.framework链接到该项目可以修复此问题


不过,它并没有为模拟器修复它。

在终端中运行此命令会使它消失:

xcrun simctl spawn booted log config --mode "level:off"  --subsystem com.apple.CoreTelephony

它在Xcode 10.2中的模拟器和设备上都工作

  • 添加corethelphony.framework(可选)

  • 在终端中执行以下命令:

    xcrun simctl spawn booted log config --mode "level:off" --subsystem 
    com.apple.CoreTelephony
    
  • 从Xcode菜单打开:产品>方案>编辑方案

    在您的环境变量上设置
    OS\u ACTIVITY\u MODE=disable

  • 重启模拟器


  • 我也遇到了同样的问题,我就是这样解决的: 转到选项卡构建阶段并搜索本机代码和图像及以下shell输入添加:

    导出节点\u二进制=节点 ../node_modules/react native/scripts/react native xcode.sh

    这对我使用Xcode 11.3.1是有效的


    希望这对其他人有帮助!

    我在AWS Cognito上遇到了同样的问题,你解决了问题吗?我必须将操作系统更新到Mojawe才能让它消失。哦,好吧,在我的情况下,我意识到这个错误只发生在模拟器上,而不是在真实的设备上。编辑:我刚刚看到你对模拟器的编辑是的,你不得不使用你,这很烦人r设备进行测试,无法再使用模拟器。我的回答解决了您的问题吗?它只是为模拟器设置了一个配置,使子系统没有(“关闭”)日志记录