Xcode 8 Beta模拟器意外运行Xcode8模拟器后无法运行应用 [英] Xcode 8 beta simulator fails to run app after accidentally running Xcode8 simulator
问题描述
无法启动与模拟器的服务连接
"Failed to initiate service connection to simulator"
试图清理应用程序,重新安装它,删除派生数据,重置模拟器设置,重新启动xCode。我还听说其他人通过重新创建模拟器解决了模拟器的问题。我也尝试过。当我按下create时,我得到的错误信息非常相似:错误返回:连接无效
Tried to clean app, reinstall it, delete derived data, reset simulator settings, restart xCode. I've also heard other people solved problems with their simulators by recreating the simulator. I tried that as well. When I press create, I get the very same error message: "Error returned in reply: Connection invalid"
推荐答案
当您尝试在 Xcode 8
在模拟器模式下, Xcode 7
的模拟器仍在运行。
This happens when you try to run a project inXcode 8
in simulator mode and the Xcode 7
's simulator is still running.
您只需要关闭它们(xcode 8,xcode 8模拟器,xcode 7,
xcode 7模拟器)然后运行再次使用xcode 8。
You only need to close them all(xcode 8, xcode 8 simulator, xcode 7, xcode 7 simulator) then run xcode 8 again.
此后它应该可以正常运行。
It should run properly after that.
这篇关于Xcode 8 Beta模拟器意外运行Xcode8模拟器后无法运行应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!