I encountered the following error when I create and open a playground for Swift, any solution for it?
当我为Swift创建和打开一个游乐场时,我遇到了以下错误,它的解决方案是什么?
Error running playground.
Failed to prepare for communication with playground.
3 个解决方案
#1
1
For me the restarting XCode 6 did not solve the problem. So I restarted the Mac. It worked afterwards.
对我来说,重启XCode 6并没有解决问题。所以我重新启动了Mac。之后它起作用了。
This tutorial was helpful: http://www.raywenderlich.com/74438/swift-tutorial-a-quick-start
本教程非常有用:http://www.raywenderlich.com/74438/swift-tutorial-a-quick-start
#2
23
I'm experiencing the same problem, but restarting xCode6-beta seems to solve it.
我遇到了同样的问题,但重启xCode6-beta似乎解决了这个问题。
#3
0
On Xcode 6.1.1
在Xcode 6.1.1上
Creating playground using the path Xcode->Start and selecting "Get Started With a Playground" is giving "Error running playground. Unable to find suitable target device"
使用路径Xcode创建游乐场 - >开始并选择“开始使用游乐场”会出现“错误运行游乐场。无法找到合适的目标设备”
Creating playground using the path Xcode->File->New and then choosing playground => No errors
使用路径Xcode-> File-> New创建游乐场,然后选择playground => No errors
#1
1
For me the restarting XCode 6 did not solve the problem. So I restarted the Mac. It worked afterwards.
对我来说,重启XCode 6并没有解决问题。所以我重新启动了Mac。之后它起作用了。
This tutorial was helpful: http://www.raywenderlich.com/74438/swift-tutorial-a-quick-start
本教程非常有用:http://www.raywenderlich.com/74438/swift-tutorial-a-quick-start
#2
23
I'm experiencing the same problem, but restarting xCode6-beta seems to solve it.
我遇到了同样的问题,但重启xCode6-beta似乎解决了这个问题。
#3
0
On Xcode 6.1.1
在Xcode 6.1.1上
Creating playground using the path Xcode->Start and selecting "Get Started With a Playground" is giving "Error running playground. Unable to find suitable target device"
使用路径Xcode创建游乐场 - >开始并选择“开始使用游乐场”会出现“错误运行游乐场。无法找到合适的目标设备”
Creating playground using the path Xcode->File->New and then choosing playground => No errors
使用路径Xcode-> File-> New创建游乐场,然后选择playground => No errors