gpt4 book ai didi

安装 macOS 和 Xcode 8 后,iOS 模拟器将无法与 Xcode 7.3.1 一起使用

转载 作者:可可西里 更新时间:2023-11-01 06:03:06 27 4
gpt4 key购买 nike

安装 macOS Sierra + Xcode 8 beta 后

我的 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 一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37824434/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com