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

Error in my code after installing framework

All the code in my app works fine if I comment out all the parse code and run the simulator. Everything is as normal expect when I uncomment the code I get these errors and I can;t seem to find out what the problem is to fix it:

Ld /Users/ben_ford32/Library/Developer/Xcode/DerivedData/Ribbit-bipisldrykufbmdecxomdvzdnggv/Build/Products/Debug-iphonesimulator/Ribbit.app/Ribbit normal x86_64 cd /Users/ben_ford32/Dropbox/Treehouse/IOS/Ribbit export IPHONEOS_DEPLOYMENT_TARGET=7.1 export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/ben_ford32/Library/Developer/Xcode/DerivedData/Ribbit-bipisldrykufbmdecxomdvzdnggv/Build/Products/Debug-iphonesimulator -F/Users/ben_ford32/Library/Developer/Xcode/DerivedData/Ribbit-bipisldrykufbmdecxomdvzdnggv/Build/Products/Debug-iphonesimulator -F/Users/ben_ford32/Dropbox/Treehouse/IOS/Ribbit -filelist /Users/ben_ford32/Library/Developer/Xcode/DerivedData/Ribbit-bipisldrykufbmdecxomdvzdnggv/Build/Intermediates/Ribbit.build/Debug-iphonesimulator/Ribbit.build/Objects-normal/x86_64/Ribbit.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework Social -lsqlite3 -framework AdSupport -framework Accounts -framework AudioToolbox -framework CFNetwork -framework CoreLocation -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework CoreGraphics -framework UIKit -framework Parse -framework Foundation -Xlinker -dependency_info -Xlinker /Users/ben_ford32/Library/Developer/Xcode/DerivedData/Ribbit-bipisldrykufbmdecxomdvzdnggv/Build/Intermediates/Ribbit.build/Debug-iphonesimulator/Ribbit.build/Objects-normal/x86_64/Ribbit_dependency_info.dat -o /Users/ben_ford32/Library/Developer/Xcode/DerivedData/Ribbit-bipisldrykufbmdecxomdvzdnggv/Build/Products/Debug-iphonesimulator/Ribbit.app/Ribbit

Undefined symbols for architecture x86_64: "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(PFObject.o) objc-class-ref in Parse(PFFile.o) objc-class-ref in Parse(PFNetworkCommandRunner.o) objc-class-ref in Parse(PFQuery.o) objc-class-ref in Parse(PFRetryingCommandRunner.o) objc-class-ref in Parse(PFTaskQueue.o) objc-class-ref in Parse(PFUser.o) ... "_OBJC_CLASS$_BFTaskCompletionSource", referenced from: objc-class-ref in Parse(PFObject.o) 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(BFTask+Private.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any help would be much appreciated and I have a feeling this has got something to do with something missing in the framework folders? I have tripled checked that I have downloaded everything that Parse specified as well.

Thanks!

1 Answer

in your downloaded parse SDK folder there should be a Bolts.framework file. drag that in with your other frameworks and see if that fixes anything