Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Playground execution terminated because the playground process exited unexpectedly

I want to use a playground in Xcode 6.0.1. So File -> New -> Playground

I get immediately the error. Playground execution terminated because the playground process exited unexpectedly. See image. Restart Xcode didn't helped.

Whats wrong with Xcode?Xcode Error

like image 525
zeiteisen Avatar asked Sep 23 '14 13:09

zeiteisen


3 Answers

New Answer:

As @Woomin points out in the comments, first try restarting Xcode and rebooting your Mac, and if that fails try the following:

Try deleting the .simruntime files:

enter image description here

I found them located here in my root directory:

enter image description here

Old Answer:

If the above doesn't work try removing everything in the Developer folder located at /Library/Developer/. If this still doesn't work try removing everything in ~/Library/Developer/. If this still doesn't solve it remove xcode with AppCleaner and reinstall it using the MAS version. I found that doing this last thing solved the issue but it came back when I installed the simulators from xcode's download tab. Removing the .simruntime files finally solved it for me. BTW, I'm using version 7.2.

like image 96
smileBot Avatar answered Oct 18 '22 03:10

smileBot


A restart of the mac solves the problem. What causes the issue is still unknown.

like image 8
zeiteisen Avatar answered Oct 18 '22 01:10

zeiteisen


Thanks smileBot's answer. I am able to make it work with 7.2 too. I did try differently.

I installed Xcode 7.2 release version via downloading. However it had problem mentioned above. I first deleted the Xcode 7.2 via AppCleaner completely. Empty the trash. Also cleaned the derived data using WatchDog for Xcode And then restart the machine. Try again, it did not work.

So I went ahead deleted the folder ~/Library/Developer/ and then restart, try again, I can use Playground again in Xcode 7.2 again.

like image 3
Zhao Avatar answered Oct 18 '22 02:10

Zhao