升级到 xcode 10 之后,只要在 simulator 里面运行 app, 就会有下面日志. 真机上没有.
2018-09-20 10:31:18.670696+0800 Pico[69076:7822405] 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-20 10:31:18.670836+0800 Pico[69076:7822405] [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.}
我猜是微信 SDK 导致的, 各位大神有碰到过吗?
确定是 WechatSDK 导致的, 换成 MonkeyKing 之后问题解决