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 Build a Self-Destructing Message iPhone App Using Parse.com as a Backend and Adding Users Creating an Account and App on Parse.com

Issue with Parse Library Import

I have followed along to the point where we add our Parse keys in the app delegate, and run. Unfortunately though when I go to run, I get the following errors that I don't quite understand:

Undefined symbols for architecture i386:

"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 i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any suggestions?

Thanks!

4 Answers

Try cleaning your project (Command + shift + K). Also, make sure you have all the needed frameworks in linked binaries with binaries. You could also try deleting the parse famework and reimporting it?

Okay, so I just read in the video notes that things have changed since the video was published, and that I need to include the bolts framework or I will get the errors that I am getting. I still am getting the same errors, so Ill try what you recommended and clean the project.

Also, always try quitting xcode or restarting, sometimes that fixes the most trivial of errors.

Still not working, even after I added bolts framework, cleaned, and re imported parse framework. Do I need to include any header files from bolt explicitly in the app delegate?

I had the same problem but after adding Bolts frameworks my project works.