0

When calling [Parse setApplicationId: clientKey:] from the didFinishLaunchingWithOptions: method in AppDelegate.m, I receive the following error:

Undefined symbols for architecture i386: "_OBJC_CLASS_$_Parse", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have included all frameworks necessary for Parse as stated in Apple Mach-O Linker Error Parse. I have #import <Parse/Parse.h> at the top of AppDelegate.m. I have cleaned the build several times. Any ideas what might be causing this?

1 Answer 1

3

Just check all frameworks in "Link Binary With Libraries" in project's build-phase tab.

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

1 Comment

For some reason Parse.framework was not in the "Link Binary With Libraries" section even though it was in both my Frameworks folder and the "Linked Frameworks and Libraries" section in the project's general tab. After dragging Parse.framework to "Link Binary With Libraries", the errors disappeared. Thank you!

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.