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
Christian Bryant
Front End Web Development Techdegree Student 8,296 PointsStill having problems with Parse 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 Ben Jakuben ?
I have included bolts framework, but do I need to explicitly reference in my implementation file? So far I have tried re-importing Parse as well as restarting Xcode.
Any help would be much appreciated, as I haven't been able to move forward with the project.
Thanks!
2 Answers
Ben Jakuben
Treehouse TeacherSorry about your trouble with this! I added a Teacher's Note on that page, but it sounds like that is still being missed. 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.
Christian Bryant
Front End Web Development Techdegree Student 8,296 PointsThat was it! Even though it was included in the project's framework directory, it needed to be added manually in the 'Link Binary With Libraries' section.
Thanks Ben Jakuben!
Christian Bryant
Front End Web Development Techdegree Student 8,296 PointsChristian Bryant
Front End Web Development Techdegree Student 8,296 PointsI actually have that added, and it still is giving the same errors.
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherHmmm...sounds like it's not being recognized somehow. First try cleaning and rebuilding your project. Then click on the Project in the Navigator, Click the Build Phases at the top, and make sure Bolts.framework is listed in the "Link Binary With Libraries" section. You may need to add it there if it's not added for you.