Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
245 views
in Technique[技术] by (71.8m points)

ios - application executable is missing a required architecture armv6

I am using xCode 4.2 and trying to deploy my application. I am failing the validation with the following error message:

application executable is missing a required architecture armv6

The value for my Architectures is set to Standard (armv7). This is the ONLY option in the dropdownlist. Base SDK: iOS 5.0 (This is the only option) Deployment SDK: 3.2 Build Active Architecture Only: NO Valid Architectures: armv6 armv7 armv7f armv7k

Does anyone please know the solution to this problem?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

In the Xcode 4.2 GM this is still a problem but you can resolve it by doing the following.

  1. Switch to the files/folders view in xcode project

  2. Select your Project ( the blue icon)

  3. Select your Application under Targets in the middle of the screen.

  4. Go To build settings

  5. Find Architectures > Distribution

  6. Expand this section so you can see both Debug and Release

  7. Change "Standard (armv7) - $(ARCH_STANDARD_32_BIT)" to "Other..."

  8. Replace, "Standard (armv7) - $(ARCH_STANDARD_32_BIT)" with "armv6", then add a new item "armv7"

Remember you may need to do this for all included projects aka frameworks such as TAPKU

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...