0

i am trying to integrate parse into my app in Xcode 5.0.2. The app builds just fine before parse is integrated into ApplDelegate.m. But when i put in the parse details and test code, i get 4 errors. here is what i put in:

[Parse setApplicationId:@"Redacted"
              clientKey:@"Redacted"];
[PFAnalytics trackAppOpenedWithLaunchOptions:launchOptions];

PFObject *testObject = [PFObject objectWithClassName:@"TestObject"];
testObject[@"foo"] = @"bar";
[testObject saveInBackground];

and i get the following 4 errors:

Undefined symbols for architecture i386:
   (error 1) "_OBJC_CLASS_$_BFExecutor", referenced from:
      objc-class-ref in Parse(BFTask+Private.o)
      l_OBJC_$_CATEGORY_BFExecutor_$_Background in Parse(BFTask+Private.o)
  (error 2) "_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)
      ...
  (error 3) "_OBJC_CLASS_$_BFTaskCompletionSource", referenced from:
      objc-class-ref in Parse(PFObject.o)
      objc-class-ref in Parse(PFCommandCache.o)
      objc-class-ref in Parse(PFNetworkCommandRunner.o)
      objc-class-ref in Parse(PFTaskHTTPRequestOperation.o)
      objc-class-ref in Parse(BFTask+Private.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation) (error 4)
1
  • You may want to regenerate your app keys since you have exposed them here Commented Oct 8, 2014 at 0:56

1 Answer 1

3

It looks like you need to compile the BoltsFramework for your simulator builds.

If it's not included in Parse already, you can download it from GitHub. Then make sure the Project settings for it include "i386" for architectures, which would work for the simulator.

Sign up to request clarification or add additional context in comments.

3 Comments

Michael, I see that I do have the bolts.framework with the parse sdk download. But how exactly do I integrate it and make sure i386 is included?
Is Bolts.framework something that's built (a subproject of your project) or something that's included?
i believe it is included not built in. I'm not sure though

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.