Playgrounds 在 Xcode 8.3 中被破坏 [英] Playgrounds broken in Xcode 8.3

查看:30
本文介绍了Playgrounds 在 Xcode 8.3 中被破坏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我开始使用 Xcode 8.2(以及最近的 8.3)以来,playgrounds 对我来说完全被破坏了.

Since I started working Xcode 8.2 (and 8.3 lately), playgrounds are completely broken for me.

打开 Playground 时,我看到消息启动过程失败.回复错误:连接中断"

When opening a playground I see the message "Failed to launch process. Error returned in reply: Connection Interrupted"

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

Complete re-installation of Xcode or removing / re-creating /private/tmp folder (as suggested by some other posts) did not help.

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

Did someone encounter a similar problem? Are there other known work-arounds? (http://www.openradar.me/31296836)

这是 CoreSimulator.log 的一些示例输出

Here is some sample output from 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}

推荐答案

Timing 创建者的说明:从 Timing 1.8.1 和 Timing 2.0 开始,此问题不再出现.

iOS Playground 在我的 MacBook 上的 Xcode 8.3.x 中运行正常,但我的 MBP 出现启动模拟器错误.MacBook 是旅行用的,所以应用程序集最少.特别是,它在状态菜单栏中的应用程序图标更少.

iOS playgrounds work ok in Xcode 8.3.x on my MacBook, but I got the launching simulator errors on my MBP. The MacBook is for travelling, so has a minimal set of apps. In particular, it has fewer app icons in the status menu bar.

所以在我的 MBP 上,我退出了所有不在 MB 上的内容,嘿,很快,操场跑了!我一个一个启动应用程序,是 Timing 导致启动模拟器错误 - 关闭菜单栏图标再次修复它,即使计时应用程序本身仍在运行.

So on my MBP, I quit all of those that aren't on the MB, and hey presto, playgrounds ran! I started the apps one by one, and it was Timing that brought back the launching simulator error — closing the menu bar icon fixed it again, even though Timing app itself was still running.

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

Not picking on Timing especially; could be any quick-access app in your menu bar.

在此之前,我重新安装了 Sierra,但不是全新安装.那将是下一步.

Before this, I had reinstalled Sierra, but not a clean install. That would've been the next step.

这篇关于Playgrounds 在 Xcode 8.3 中被破坏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆