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

Jacob McLaws
Jacob McLaws
1,497 Points

After connecting to Parse my app won't build

Running into something that Ben doesn't seem to. Any help debugging would be great. I don't understand the error.

Here's my project on dropbox: https://www.dropbox.com/sh/5627x9qq0rppji3/AADWCeMTwTSlMN80JfVyyvRqa?dl=0

2 Answers

Jacob McLaws
Jacob McLaws
1,497 Points

Hey, sorry for the mess. I realized that I didn't add the bolts.framework like the Parse quickguide says. That must have changed since Ben made this class. Thanks for your response Marcus!

Marcus Smith
Marcus Smith
18,782 Points

Unfortunately when I try to download your project from Dropbox, I don't get all the files. As a result, I can't view your project or even try to build it. Instead, what does the error message say? Maybe we can debug it bit by bit.

As for Parse, make sure you're setting the Client Key and AppId.

Jacob McLaws
Jacob McLaws
1,497 Points

Hmm. Ok here's the error I'm getting: Ld /Users/jmclaws/Library/Developer/Xcode/DerivedData/Ribbit-begvuezsfrlphdbrpvjewaprxdtl/Build/Products/Debug-iphonesimulator/Ribbit.app/Ribbit normal x86_64 cd "/Users/jmclaws/Documents/Personal/Tap Me/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/jmclaws/Library/Developer/Xcode/DerivedData/Ribbit-begvuezsfrlphdbrpvjewaprxdtl/Build/Products/Debug-iphonesimulator -F/Users/jmclaws/Library/Developer/Xcode/DerivedData/Ribbit-begvuezsfrlphdbrpvjewaprxdtl/Build/Products/Debug-iphonesimulator -F/Users/jmclaws/Documents/Personal/Tap\ Me/Ribbit -filelist /Users/jmclaws/Library/Developer/Xcode/DerivedData/Ribbit-begvuezsfrlphdbrpvjewaprxdtl/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 AudioToolbox -framework CFNetwork -framework CoreLocation -lz.1.1.3 -framework MobileCoreServices -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework CoreGraphics -framework UIKit -framework Parse -framework Foundation -Xlinker -dependency_info -Xlinker /Users/jmclaws/Library/Developer/Xcode/DerivedData/Ribbit-begvuezsfrlphdbrpvjewaprxdtl/Build/Intermediates/Ribbit.build/Debug-iphonesimulator/Ribbit.build/Objects-normal/x86_64/Ribbit_dependency_info.dat -o /Users/jmclaws/Library/Developer/Xcode/DerivedData/Ribbit-begvuezsfrlphdbrpvjewaprxdtl/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(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(PFNetworkCommandRunner.o) objc-class-ref in Parse(PFObject.o) objc-class-ref in Parse(BFTask+Private.o) objc-class-ref in Parse(PFTaskHTTPRequestOperation.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)