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?

Community
  • 1
  • 1
Benjamin Martin
  • 1,795
  • 3
  • 15
  • 17

1 Answers1

3

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

Abin George
  • 644
  • 6
  • 21
  • 1
    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! – Benjamin Martin Apr 23 '14 at 20:16