ios - 归档发布时出现 armv7s 和 armv7 错误

标签 ios xcode5

存档(发布)时出现错误

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”不知何故从我的项目设置/目标中的“编译器源”中删除了。
把它加回去,解决了。

关于ios - 归档发布时出现 armv7s 和 armv7 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21725704/

相关文章:

ios - Xcode 5 调试器不打印对象

ios - NSDictionary 值发生变化而无需任何修改

xcode5 - 如何卸载 xcode 5 命令行工具?

ios - 核心剧情: Multiple colors for scatter plot fill area

ios - Swift 如何在 IBaction 之外更改按钮标签?

ios - 为多个用户创建相同的应用程序

xcode - XCode 4/5 中的 Lipo 工具去哪儿了?

ios - 使用自动布局进行战斗

iOS 8 多任务快照/屏幕截图和敏感信息

ios - 无法创建 Google Analytics 配置文件