我的Xcode 7.3.1无法再运行iOS模拟器,
我该如何解决这个问题?
这是系统日志.
Jun 15 07:46:11 Siams-MacBook-Pro com.apple.xpc.launchd[1] (com.apple.CoreSimulator.CoreSimulatorService[2246]): Service exited due to signal: Killed: 9 sent by com.apple.CoreSimulator.CoreSimu[2246]Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: com.apple.CoreSimulator.CoreSimulatorService 209.19 starting.Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: Default device D340C405-CF9F-482C-82CE-ADE8A2399529 is no longer in the set,and an alternative Could not be found. iPhone / Watch pairings may not be correct.Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: Default device C3CBAFAD-D139-49CE-9EF1-E2437A2349A7 is no longer in the set,and an alternative Could not be found. iPhone / Watch pairings may not be correct.Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: Default device 0916CCBC-1DAA-4CA4-8DCA-FFD87C8941E0 is no longer in the set,and an alternative Could not be found. iPhone / Watch pairings may not be correct.Jun 15 07:46:12 Siams-MacBook-Pro com.apple.CoreSimulator.CoreSimulatorService[2748]: Default device 9CC780B5-3034-4083-B52F-2354FB0A8252 is no longer in the set,and an alternative Could not be found. iPhone / Watch pairings may not be correct.
另一个日志
Jun 15 10:03:26 Siams-MacBook-Pro DTServiceHub[11482]: DTServiceHub[11482]: [error] 'mach_msg_send' Failed: (ipc/send) invalID destination port (268435459)Jun 15 10:03:36 Siams-MacBook-Pro Xcode[10188]: +[DTServiceHubClIEnt localConnectionWithAuthorization:returningServerPID:]: Failed to establish connection with DTServiceHub service '/Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/DTServiceHub'Jun 15 10:03:36 Siams-MacBook-Pro Xcode[10188]: Xcode[10188]: [error] 'mach_msg_send' Failed: (ipc/send) invalID destination port (268435459)解决方法 短期解决方案:
>构建应用程序
>该应用程序仍将安装在模拟器上,即使出现错误
>在模拟器上手动启动应用程序
>转到Xcode
>单击调试>附加到流程>你的应用名称
建议不要这样做,因为每次要运行应用程序时都必须这样做.
长期解决方案(推荐):
从开发人员中心重新安装Xcode.这样做会清除此错误,应用程序将顺利运行.
总结以上是内存溢出为你收集整理的安装macOS和Xcode 8后,iOS模拟器无法与Xcode 7.3.1一起使用全部内容,希望文章能够帮你解决安装macOS和Xcode 8后,iOS模拟器无法与Xcode 7.3.1一起使用所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)