Search code examples
xcodeios5archive

Error occurred while Archive my IOS application?


I've created an IOS application,But when i'm trying to archive my project i get two errors saying-

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

and

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

can anyone help me?

Thanks.


Solution

  • Yes i got it, AppDelegate.m was missing from Compile sources.