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 Build a Self-Destructing Message iPhone App Using Parse.com as a Backend and Adding Users Creating an Account and App on Parse.com

Jack Campbell
Jack Campbell
1,822 Points

This is so frustrating :(

Ok I have tried literally everything people have said to do as well as what the video said to do. I added in the frameworks. I added in the code but Apple Mach-O Linker Error keeps popping up. Can someone please help me or can treehouse redo this video because xcode has changed as well as Parse? Thanks

4 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

I am very sorry about your trouble with this. I will add notes in the Teacher's Notes on that page and see about recording some sort of fix. I was able to recreate and then solve your issue. The Parse SDK now requires another framework that is included in the zip file from Parse: Bolts.framework. Copy this into your project just like Parse.framework, and then the errors will go away. Let us know if you still have trouble after trying that.

I was able to see find the solution by searching for "Parse BFExecutor". I saw the Bolts.framework mentioned then went back to read the instructions on the new Parse Quickstart guide and saw that this is now required.

Jack Campbell
Jack Campbell
1,822 Points

Thanks so much! My errors went from 4 to just 1. error: linker command failed with exit code 1 (use -v to see invocation) . Do this happen to you as well?

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Hmmm...no, this fixed my whole project. Can you try a Project > Clean and then build it again? Maybe even an Xcode restart?

I still got the error. This isn't the first time with Parse. I don't like how to frameworks don't work at all. I tried what you said and nothing happened. I have used parse before, but this error started happening during June. I don't know what to do....

Stone Preston
Stone Preston
42,016 Points

did you try removing the parse framework, and adding it back in?. Delete it from your frameworks folder and make sure its not in the link binaries with libraries section

Lei zheng
Lei zheng
7,990 Points

add libsqlite3.0.dylib to library.

maybe it will help.

Stanley Gao
Stanley Gao
3,889 Points

Hey were you able to solve this problem? I had the exact same problem. I also have one error left and I'm stucked. If you have a solution. Please let me know. Thank you!

Stone Preston
Stone Preston
42,016 Points

are you using Cocoa Pods perchance?

Stanley Gao
Stanley Gao
3,889 Points

No, I have no idea what it is. I was following the tutorial which is to use Parse.com to store data. I think the problem is that we are missing a framework here, I just couldn't find out which one.

Stone Preston
Stone Preston
42,016 Points

ok visit the parse quickstart guide and redownload the SDK, drag all of the files (parse.framework, bolts.framework and whatever else there is into the frameworks section of the file tree and make sure copy items is checked.

then include the necessary frameworks that are listed on that page.

the page I linked has all the instructions, if you follow them it should work

Stanley Gao
Stanley Gao
3,889 Points

Oh! Thanks! I got it! I mistakenly added AudioUnit.framework instead of AudioToolbox.framework! Finally! Thank you so much!

Stone Preston
Stone Preston
42,016 Points

awesome glad you got it fixed