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

Apple Mach-O Linker Error: Xcode 6.1

After upgrading to Xcode 6.1 and updating my iPhone 6 plus to iOS 8.1, I am unable to run the sample application which came with this video "creating an account on parse.com" . The error message is: "OBJC_CLASS$_BFTaskCompletionSource", referenced from: Previously, with xode 6.0, the sample code worked.

Thanks for any help..

Noah Teshu
Noah Teshu
14,555 Points

This might be an error caused by Xcode not being able to find a file it needs. Some folks on Stack Overflow seemed to be able to fix this by adding the bolts framework.

I've had experiences (like when setting up a project to work with cocoapods) where framework files I could swear were there move and/or seem to be deleted.

Also, try running clean and restarting Xcode, if you haven't already.

update: deleting and then manually adding the parse and bolts frameworks makes it so the project will build. However, there is still a runtime error causing it to crash.

I guess the error is with Xcode 6 and Xcode 6.1. The error in full is: "Framework not found AudioUnit

Apple Mach-O Linker Error

(null): Linker command failed with exit code 1 (use -v to see invocation)"

I have audio unit added as a framework.

Thanks for your response.

3 Answers

Jordan Winkelman
Jordan Winkelman
9,434 Points

I'm not sure if you still need an answer but I had the same problem and forgot to add the libsqlite3.dylib framework. Good luck

Lei zheng
Lei zheng
7,990 Points

I fix this by adding bolt framework, libsqlite3.dylib framework. and delete parse and re add it back. and finally solve the probelm.

thank you guys.

mariamaljamea
mariamaljamea
4,937 Points

Your comment helps me :) Thanks.

thanks to all that replied.