xcode 中的armv (转)

来源:互联网 发布:关系数据库设计理论 编辑:程序博客网 时间:2024/05/29 17:58
apple 通用二进制应用程序,含多种处理器或架构的二进制,如x86或x64,arm11或a8 
armv7与armv6是指指令或架构的CPU, 
armv6是iphone3gs以前arm11 cpu使用的指令集 
armv7是iphone3gs及以后、iphone4、ipad,cortex a8 cpu使用的指令集 



xcode4.2 IOS5 编译低于sdk4.3的程序的办法:

编译ios5时,当你选择的sdk低于4.3时,就出现了下页的报错:

warning: iPhone apps with a deployment target lower than 4.3 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "4.0", ARCHS = "armv7").

选择Target -> Build Settings -> Architectures, 设置为"armv6"和"armv7" 。




xcode 4.2 itunes上传时 At least one of the following architecture(s) must be present: armv6 (-19033)

Xcode升级到了4.2GM版,编译的时候遇到这个错误提示:


iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6 (-19033)
解决方法和上边的一样,加入 "armv6"和"armv7"

原创粉丝点击