iOS Dev (18) Undefined symbols for architecture xxx: "_main", referenced from ...

Undefined symbols for architecture i386:

  "_main", referenced from:

      start in crt1.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)


-


解决办法:检查Build Phases, Compile Sources是不是少元素,尤其是 Supporting Files/main.m

你可能感兴趣的:(iOS Dev (18) Undefined symbols for architecture xxx: "_main", referenced from ...)