Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

isabelbolger
1,412 PointsError in Xcode: playground execution terminated because the process stopped unexpectedly. HELP! Thank you!
I get that ^ error when using Xcode. What is wrong and how do I fix the problem?

isabelbolger
1,412 PointsAny code that I am using displays this error. Every time the system tries to run my code, it displays this error.
Jo Albright
5,199 PointsYou may want to check the "import" and the type of playground "iOS" or "OS X"

isabelbolger
1,412 PointsWhat is the "import"?
2 Answers
Jo Albright
5,199 PointsWhen creating a playground, it should start with this as a template for an iOS playground.
//: Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
If you remove "import UIKit" then things like Strings ("Hello") and everything else will not work and will error out.

Stepan Ulyanin
11,318 PointsIt seems to be a common bug with xcode beta versions:
Jo Albright
5,199 PointsNo one should be using Xcode Beta for these exercises. And if you do have beta, it is good practice to have both normal and beta versions of Xcode on your machine, since you cannot submit apps to the app store from the beta version.
Jo Albright
5,199 PointsJo Albright
5,199 PointsDo you mind posting the code you are using? Most likely it ran into an error or infinite loop and just crashed itself to keep from crashing Xcode.