ITeye博客

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

prevention · 2014-01-06 13:01 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。