iOS 6 - “application executable is missing required architecture: armv6”

本小妞迷上赌 提交于 2019-12-10 12:38:50

问题


First, I have tried every answer for the question - application executable is missing a required architecture armv6

This worked last week before I downloaded iOS 6. Now I am getting the following error when validating my archive for distribution.

To my knowledge, the only change is iOS 6. So I believe there must be a new step I'm missing.


回答1:


XCode 4.5 no longer supports armv6 compilation. It may still exist in the architecture settings (from an older project) but it won't build them anymore. If you need to build for old (as in armv6 based ) iPhones you can't support 6.0 in the same build (as you need Xcode 4.5 for that).




回答2:


Make sure the iOS Deployment Target is set to iOS 4.3.

Although your project settings might say armv6, it is not supported anymore in Xcode 4.5, nor are Deployment Targets below 4.3.




回答3:


My experience with Cocos2d and Xcode 4.5:

When I created a new and not Cocos2d project in Xcode 4.5, it can be built for archiving without warning about missing any architecture.

However, when I create a new Cocos2d project, Xcode 4.5 gives a validate warning of missing armv6 and App Store refuses to accept the app.

After checking, I see that Cocos2d set automatically iOS Deployment Target to iOS 4.0. Change the value to iOS 4.3, and it will solve the problem.



来源:https://stackoverflow.com/questions/12608395/ios-6-application-executable-is-missing-required-architecture-armv6

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!