5

I am getting this error when i try to archive my project:

warning: iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6 (-19033) Unable to validate your application. - (null)

I have checked my build settings but i just don't see ARM6 in the options, only 7.

Any help will be appreciated.

Shni

Charles
  • 50,943
  • 13
  • 104
  • 142
shannoga
  • 19,649
  • 20
  • 104
  • 169

3 Answers3

15

Manually add armv6 in 'PROJECT' by double clicking the armv7 bit, deleting what's there and adding armv6 and armv7. Editing PROJECT in Xcode to manually modify Standard (armv7)

james_womack
  • 10,028
  • 6
  • 55
  • 74
  • I had to adjust the setting "Valid architectures" to "armv6 armv7". After that it worked for me too! – anka Jun 29 '11 at 10:51
  • 1
    I had the value $(ARCHS_STANDARD_32_BIT) which displayed as armv7 (Standard). Replaced it with two items [armv6, armv7]. Fixed! Thanks Cirrostratus. – James Wald Oct 26 '11 at 19:54
  • Well, it did work but only when i archive. when i build for debug i must range it back. – shannoga Nov 09 '11 at 11:51
  • 1
    @shannoga did you make the change in your 'Target' instead of 'Project'? – james_womack Nov 11 '11 at 16:10
  • After wasting my enire day I saw your post. And I can't say how happy I am. It was really worst day but you safe me and I was able to submit the application to the app store. Really appreciated. – AppAspect Dec 03 '11 at 06:35
1
  • Set "Build Active Architecture Only" to NO;
  • Change $(ARCHS_STANDARD_32_BIT) to armv6 and armv7;
  • Make changes in "PROJECT", not "TARGETS".
superarts.org
  • 7,009
  • 1
  • 58
  • 44
0

In addition to adding the armv6 architecture, I had to remove the armv7 entry from my apps info.plist "Required Device Capabilities" entry in order to get my app to run on my old iTouch.

Evan
  • 141
  • 4