17
votes

While submitting my iOS App to the App Store, validation fails with the message:

iPhone/iPod Touch: application executable is missing a required architecture.
At least one of the following architectures(s) must be present: armv6

I'm using Xcode 4.5 (4G182), currently the latest. Some of my build settings:

  • Architectures: armv6 armv7
  • Base SDK: Latest iOS (iOS 6.0)
  • Valid Architectures: armv7 armv7s
  • iOS Deployment Target: 4.0

What's going wrong here?

2

2 Answers

50
votes

Set the iOS Deployment Target to iOS 4.3.

1
votes

If you're using Xcode 4.5 there is no armv6 any longer Then you need to use an earlier Xcode version to still support iOS 4.3 (various ways doing this are listed here http://blog.chpwn.com/post/31824877081)

If this is not necessary you could cut out armv6 and just support iOS 5+

Cutting out armv6 goes by -> Build Settings->Architectures->Select Standard