xcode 中的armv (转)

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"

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值