`
prevention
  • 浏览: 70707 次
社区版块
存档分类
最新评论

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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics