我对 xCode 4.2 有疑问。构建时出现此错误:
2011-06-18 13:35:49.839 Validation[4110:607] *** Warning: Defaulting to the standard codesign tool
warning: iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6 (-19033)
Unable to validate your application. - (null)
我查看了我的项目设置,它有:
architectures: Standard (arm7) - ${ARCHS_STANDARD_32_BIT)
Build active architecture only : NO
不确定
最佳答案
由于某些原因,xCode 4.2 的默认架构设置仅适用于 armv7。 转到目标 -> build设置 -> 架构 -> 发布 在值下拉菜单中选择“其他...”,
删除 $(ARCHS_STANDARD_32_BIT),并添加 2 行
第一个是“armv6”,第二个是“armv7”
完成
关于objective-c - iPhone/iPod Touch : application executable is missing a required architecture,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6393701/