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!
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
Jack Campbell1,822 Points
Can someone please help me!!!
I have no idea what these errors mean. Can someone please help me get past this? The last thing I did before these errors came up was add in the parse framework.
The first error says: Apple Mach-O Linker Error "OBJC_CLASS$BFExecutor referenced from: Seconds says: Apple Mach-O Linker Error "_OBJC_CLASS$_BFTask", referenced from: The third and fourth are very similar. I haven't seen this code before and I don't know how to fix it. Can someone help me please?
Stone Preston42,016 Points
go here. go to step 3 where it says add dependencies and add the required frameworks to the link binary with libraries section of your build phases project settings. to get to the link binary with libraries section, click the file at the very top of the file tree in xcode. that will bring up your project settings. select the build phases tab, and then click the plus sign to begin addings libraries. you can ctrl + click each one you need instead of doing each one separately
I dont remember when this same thing happened to me, but try this:
1.- Check that you are just importing .h files. (Once I imported a .m file and my project crashed)
2.- Go to product -> clean and restart your xcode
Jack Campbell1,822 Points
"OBJC_CLASS$_BFExecutor", referenced from:
objc-class-ref in Parse(BFTask+Private.o) l_OBJC_$_CATEGORY_BFExecutor_$_Background in Parse(BFTask+Private.o)
"OBJC_CLASS$_BFTask", referenced from:
objc-class-ref in Parse(PFUser.o) objc-class-ref in Parse(PFFile.o) objc-class-ref in Parse(PFNetworkCommandRunner.o) objc-class-ref in Parse(PFObject.o) objc-class-ref in Parse(PFPush.o) objc-class-ref in Parse(PFRetryingCommandRunner.o) l_OBJC_$_CATEGORY_BFTask_$_Private in Parse(BFTask+Private.o) ...
"OBJC_CLASS$_BFTaskCompletionSource", referenced from:
objc-class-ref in Parse(PFCommandCache.o) objc-class-ref in Parse(PFFile.o) objc-class-ref in Parse(PFNetworkCommandRunner.o) objc-class-ref in Parse(PFObject.o) objc-class-ref in Parse(BFTask+Private.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ben JakubenTreehouse Teacher
Just answered in your other post:
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.