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

iOS

Xcode locking up after a few minutes in playground

As I follow along in the iOS Swift Track, I keep having to force quit Xcode because it locks up. I'm on a retina MacBook Pro, so I shouldn't have any issues running Xcode. I've tried reinstalling, installing any available updates, running the next beta version, but nothing seems to stop this from happening.

Has anyone else experienced this? Any tips? I can't find much with Google searches, so if anyone can point me in the right direction I would be much obliged!

I usually notice that Xcode will not correctly display the results in the console before it locks up. It happens at least once during every video, making this take a lot longer than necessary. I'm also afraid it's going to make it nearly impossible to develop apps.

Update: I finally received an error before it locked up. Here it is:

Error running playground.

An error occurred while trying to communicate with a helper application. You may need to restart Xcode before playgrounds will run again.

2 Answers

Did you get your problem solved?

Hi Caleb,

No, I haven't had the problem solved yet. I posted on the Apple Developer forums and an Apple employee told me to post on bugreport.apple.com and to send him the ID number. I did a couple days ago and still no response.

It seems to only crash in the playgrounds though, so now that I'm working in a project I haven't experienced it as often. The playgrounds inside a project will still cause Xcode to crash though.

Kyle

The message says something about a helper application, is their an app that is trying to run with xcode on your computer?

None to my knowledge. That error only popped up once though because it usually just locks up and I have to force quit it. I thought that maybe it's trying to reference some kind of information on my computer that may be missing or something. However, I've updated and totally reinstalled the software, so I would think that would be fixed if that was the case. I may have to just wipe my Mac and start again. It's just a pain in the butt to do that haha.