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
Kai Aldag
Courses Plus Student 13,560 Pointsproject has a bug
hello, So I was working on my iOS app and i was on the programmatically add the view when it wouldn't run because of a green error (i don't know what it means) and it's saying "thread 1: breakpoint 2.1 3.1" i'm so frustrated and i'm so sad to see it fail. so i deleted the code but then it move to the next line then the next etc. I really need help i don't want to restart. please help, Kai. by the way I can send the project for help if anyone wants to help that much.
1 Answer
Carlos Crespo
1,508 PointsI wanted to do the same thing. I tried the extra credit from the part before (to have the prediction change color) and I did it. But for this one, even though I think I'd be able to do it, I decided to finish the project and then do the extra credit. Don't get too frustrated, as I advance through the project, I understand a bit more and more, and Amit keeps getting better.
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointsso what should I do.
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherCan you share your code?
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointsit's not the code it's the project.
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherCan you share your project via DropBox?
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointsyes
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherJust paste the link here.
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointshttps://www.dropbox.com/sh/u76ugospjmu9o9a/xINOJXuaLf i think this is it
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherYou need to zip up the entire project and share it:
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointsthe project doesn't appear in a folder it is just showing an Xcode project so how do you compress that?
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointshttps://www.dropbox.com/s/t5a8jwhd6uz7s40/xcode.zip
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherI'm afraid you are only providing the "xcodeproj" file. You need to zip up the entire folder:
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointshttps://www.dropbox.com/s/1ruk417biwv887r/xcode%202.zip
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherOnce again the zip file you provided contains only one file named: "CrystalBall.xcodeproj". Like I mentioned and showed in the screenshot above you need to zip up the entire folder.
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointsso you hit compress then share the link, correct if so thats what i did (i think).
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherThat's right. But I'm afraid you are compressing the wrong thing. You need to compress the folder and not just the file.
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointsim not seeing a folder just a file.
Amit Bijlani
Treehouse Guest TeacherAmit Bijlani
Treehouse Guest TeacherThere in lies the problem. You should have an entire folder with files and a sub-folder. If you don't then you might have to start over by creating a new project. Or just download the Project Files under the Downloads section of any video to follow along.
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointshey amit, so i decided to simply take your xcode file and finish with that but it not showing all the code when i open the .m or .h file but when i run it it works. how do i get the code Amit Bijlani
Kai Aldag
Courses Plus Student 13,560 PointsKai Aldag
Courses Plus Student 13,560 Pointssorry i was looking in the delegate .m and .h simple mistake sorry