当前位置 : 主页 > 手机开发 > ios >

ios – 在发布版本时获取armv7s和armv7的错误

来源:互联网 收集:自由互联 发布时间:2021-06-11
归档时(发布时)我收到错误 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”已从我的项目设置/目标中的“编译器源”中删除. 添加它,解决它.
网友评论