Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS

Jack Campbell
Jack Campbell
1,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?

Rashii Henry
Rashii Henry
16,433 Points

can you paste the whole error message so i can see what its referencing to? you probably changed or you're missing something in one of your header class files and the compiler is complaining.

i think you need to add some frameworks

5 Answers

Stone Preston
Stone Preston
42,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

Jack Campbell
Jack Campbell
1,822 Points

Yeah its very strange, I added all the ones that the video said to add but it is still not working :/

Stone Preston
Stone Preston
42,016 Points

if you want to upload your project to dropbox il look at it. I need the root of your project folder. so if your project is saved in a folder named my_iOS_projects and is named my_project, the folder you need to upload is my_iOS_projects/my_project/

aldoolivares
aldoolivares
14,478 Points

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 Campbell
Jack Campbell
1,822 Points

If I clean and restart xcode will I lose all my work?

Jack Campbell
Jack Campbell
1,822 Points

Stone, where do I upload it to? Thanks so much for your help!

Stone Preston
Stone Preston
42,016 Points

make a dropbox account and then upload it to a shared folder there.

Jack Campbell
Jack Campbell
1,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)

after you add those frameworks you must analyze it

Ben Jakuben
STAFF
Ben Jakuben
Treehouse 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.