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

My CrystalBall app doesn't load on iphone simulator

This is the image I got after trying to run the ios simulator for the Crystal Ball App.

https://www.dropbox.com/s/e8ugjb25kpji6g7/Photo%20Jul%2005%2C%203%2034%2008%20PM.jpg The app doesn't run. Please help. Thank you.

5 Answers

You have breakpoints in your code that are keeping the app from running. See those blue shapes next to the line of code your program stops on? Right click those shapes and select "Delete Breakpoint". Delete all of them and your program should run fine if your code is correct.

That worked but now my predict button doesn't do anything when I click on it. The app loads though. The button doesn't work. Please help.

I would try looking through your code first to see if you can spot your mistake. If that doesn't work then download to completed project file from treehouse and compare it to your code line by line. Try to understand what each line if code does. That way you will know how to not make that mistake again in the future. Although it may seem less glorious, learning how to debug is infinitely more valuable than completing this project.

My label button disappeared when I tried changing x and y in size inspector. Now I can't change x and y. Here's the screenshot:

https://www.dropbox.com/s/8bi59lj3akezkwc/Photo%20Jul%2006%2C%202%2044%2029%20PM%20%28HDR%29.jpg

What do I do?

Now I deleted another breakpoint but every time I click the predict button, the app crashes. Maybe I should delete the whole project and start all over. It isn't worth the trouble trying to fix this problem. :(