Doz*_*Doz 34 objective-c ios4 xcode4 xcode4.2
我有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)
Run Code Online (Sandbox Code Playgroud)
我查看了我的项目设置,它有:
architectures: Standard (arm7) - ${ARCHS_STANDARD_32_BIT)
Build active architecture only : NO
Run Code Online (Sandbox Code Playgroud)
不知道是什么
Bar*_*rak 75
出于某种原因,xCode 4.2的默认架构设置仅适用于armv7.转到目标 - >构建设置 - >架构 - >发布值下拉选择"其他......",
删除$(ARCHS_STANDARD_32_BIT),首先添加2行"armv6"和第二个"armv7"
完成
小智 6
对于XCode 4.5
必须将"部署目标"设置为4.3,将"架构" 设置为如上所述的armv6 armv7 armv7,并将"仅构建活动架构"设置为否.
这个项目在升级到XCode 4.5之前运行了好几个月.
就我而言,是升级 XCode 导致的。我将 XCode 降级到以前的版本,它已为我修复。如果这是您的问题,请卸载新版本,重新启动,然后再次安装旧版本。那应该适合你。
我还在我的博客中添加了一些有关此问题的屏幕截图和信息:http://iostipsntricks.wordpress.com/2011/06/24/solved-application-executable-is-missing-a-required-architecture-at-必须存在以下至少一种架构-armv6/