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

Jack Campbell
Jack Campbell
1,822 Points

Did you get 4 errors when you added in the parse library-1 to you code? URGENT

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?

5 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Just answered in your other post. Copying here for anyone who searches for this issue:

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.

Lei zheng
Lei zheng
7,990 Points

I solve my problem by adding

LIBSQLite 3.dylib or LIBSQLite 3.0.dylib?

took me 3 hour to figure out on google group.

finally. I get over the link O error.

Dustin Mote
Dustin Mote
3,590 Points

This answer solved my problem with sqlite mach-O-Link errors. Good work, Lei Zheng

you must add those following frameworks for the parse framework ,

AudioToolbox.framework ,AVFoundation.framework, CFNetwork.framework ,CoreLocation.framework, libz.dylib, MobileCoreServices.Framework ,QuartzCore.framwork ,Security.framework , StoreKit.framework ,SystemConfiguration.framework

then analyze your project

Andrew Brotherton
Andrew Brotherton
7,515 Points

Thanks! Fixed my error as well.

Hello,

I am experiencing a "Mach-0 linker" error as well when running my code for the Ribbit example. All of the required frameworks in addition to the ones noted in other error message responses here have been imported in my session. The error I am receiving is this:

ld: warning: ignoring file /Users/xxyyzz/Desktop/Ribbit/UIKit.framework/UIKit, missing required architecture x86_64 in file…

ld: warning: ignoring file /Users/xxyyzz/Desktop/Ribbit/Foundation.framework/Foundation, missing required architecture x86_64 in file…

ld: warning: ignoring file /Users/xxyyzz/Desktop/Ribbit/CoreGraphics.framework/CoreGraphics, missing required architecture x86_64 in file…

I have attempted importing these into my AppDelegate .h file and .m file separately, but receive the same error. I have also cleaned my build and restarted Xcode several times, but still receive the same error.

Any ideas as to why this is happening still?

Thanks.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Hi Christine, sorry for your trouble! If you are still having problems, you may want to switch one of the settings as specified in this StackOverflow answer: http://stackoverflow.com/a/20775248/475217

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Hi Christine, sorry for your trouble! If you are still having problems, you may want to switch one of the settings as specified in this StackOverflow answer: http://stackoverflow.com/a/20775248/475217