在Xcode 8.3中破坏了游乐场

Ser*_*sky 1 xcode ios

自从我开始使用Xcode 8.2(以及最近的8.3)以来,游乐场对我来说完全破碎了.

打开游乐场时,我看到消息"无法启动进程.回复时返回错误:连接中断"

完全重新安装Xcode或删除/重新创建/ private/tmp文件夹(正如其他一些帖子所建议的)没有帮助.

有人遇到过类似的问题吗?还有其他已知的解决方法吗?(http://www.openradar.me/31296836)

以下是CoreSimulator.log的一些示例输出

Mar 28 16:19:30 sergey-macbook com.apple.dt.Xcode[6955] <Error>: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Mar 28 16:19:30 sergey-macbook com.apple.dt.Xcode[6955] <Error>: Error looking up host support port: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Mar 28 16:19:30 sergey-macbook com.apple.dt.Xcode[6955] <Error>: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Mar 28 16:19:30 sergey-macbook com.apple.dt.Xcode[6955] <Error>: Error looking up host support port: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Mar 28 16:19:30 sergey-macbook com.apple.dt.Xcode[6955] <Error>: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Mar 28 16:19:30 sergey-macbook com.apple.dt.Xcode[6955] <Error>: Error looking up host support port: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Mar 28 16:19:40 sergey-macbook CoreSimulatorService[5859] <Error>: Error Domain=com.apple.CoreSimulator.SimError Code=163 "Unable to lookup in current state: Shutting Down" UserInfo={NSLocalizedDescription=Unable to lookup in current state: Shutting Down}
Mar 28 16:19:40 sergey-macbook CoreSimulatorService[5859] <Error>: Error from finding pasteboard support port, Error Domain=com.apple.CoreSimulator.SimError Code=163 "Unable to lookup in current state: Shutting Down" UserInfo={NSLocalizedDescription=Unable to lookup in current state: Shutting Down}
Mar 28 16:19:40 sergey-macbook CoreSimulatorService[5859] <Error>: Error Domain=com.apple.CoreSimulator.SimError Code=163 "Unable to lookup in current state: Shutting Down" UserInfo={NSLocalizedDescription=Unable to lookup in current state: Shutting Down}
Mar 28 16:19:40 sergey-macbook CoreSimulatorService[5859] <Error>: Error Domain=com.apple.CoreSimulator.SimError Code=163 "Unable to lookup in current state: Shutting Down" UserInfo={NSLocalizedDescription=Unable to lookup in current state: Shutting Down}
Mar 28 16:19:40 sergey-macbook com.apple.dt.Xcode[6955] <Error>: Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Mar 28 16:19:40 sergey-macbook com.apple.dt.Xcode[6955] <Error>: Error from finding pasteboard support port, Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
Run Code Online (Sandbox Code Playgroud)

小智 8

Timing的创建者注意:此问题不再出现在Timing 1.8.1和Timing 2.0中.

iOS游乐场在MacBook上的Xcode 8.3.x中工作正常,但我的MBP上的启动模拟器错误.MacBook适用于旅行,因此拥有最少的应用程序.特别是,状态菜单栏中的应用程序图标较少.

所以在我的MBP上,我放弃了所有那些不在MB上的人,嘿嘿,游乐场跑了!我一个接一个地启动了应用程序,正是Timing带回了启动模拟器错误 - 关闭菜单栏图标再次修复它,即使Timing应用程序本身仍在运行.

特别是没有选择时间; 可以是菜单栏中的任何快速访问应用程序.

在此之前,我重新安装了Sierra,但不是一个干净的安装.这将是下一步.

  • 嗨Audrey,Daniel,Timing的开发者.谢谢你指出这个!我现在知道这个问题,并将在下周进行调查.在那之前,请你检查一下在终端中运行以下命令是否可以解决问题:`sqlite3~/Library/Application\Support/info.eurocomp.Timing*/ActivityStore.db"update zapplication set zapplescripttrackingdisabled = 1其中zbundleidentifier喜欢'% xcode%'"`.不幸的是,这会降低Timing跟踪Xcode的准确性,但它应该比没有更好:-)请告诉我这个命令是否适合你! (2认同)