归档时(发布时)我收到错误 ld: entry point (_main) undefined. for architecture armv7clang: error: linker command failed with exit code 1 (use -v to see invocation)ld: entry point (_main) undefined. for architecture armv7sclang: err
ld: entry point (_main) undefined. for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) ld: entry point (_main) undefined. for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何帮助将不胜感激.
我的问题是: 不知怎的,我的“main.m”已从我的项目设置/目标中的“编译器源”中删除. 添加它,解决它.