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

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

http://www.cnblogs.com/luxiang/archive/2011/10/09/2204235.html

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)

找了半天都不知道在哪里设置,最终还是万能的Stackoverflow靠得住。

解决方案是:在Target的Build Settings里,找到Architectures,点击"Standard(armv7)",再点"Other...",把原来的内容删掉,在分两行输入"armv6"和"armv7",搞定。(如下图)

armv.png

你可能感兴趣的:(升级,LEAST,itunes,present,following)