What does this Xcode warning mean? "application executable missing architecture required ..."

When I create and run my iOS 5 app in Xcode 4.2 for my 4th generation iPod touch (the first with a retina shot), I get this warning:

warning: iPhone / iPod Touch: the required architecture is not in the executable file of the application. At least one of the following architectures (s) must be present: armv6 (-19033)

Although it warns of a missing architecture, the app works on my iPod touch. What should I do to get rid of this warning?

This is what I see in my build settings. There is no other architecture to choose from than armv7 (which, I think, was special for the iPhone 3GS and, possibly, for all subsequent devices): enter image description here

+4
source share
1 answer

Manually add the line “armv6” (without quotes) as the new arc type (double-clicking the line “Standard (armv7)”, then click the “+” button at the bottom of the pop-up window), and the error will disappear after “Clean” and “build”.

+5
source

All Articles