Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone/iPod Touch: application executable is missing a required architecture

I have an issue with xCode 4.2. I am getting this error when building:

2011-06-18 13:35:49.839 Validation[4110:607] *** Warning: Defaulting to the standard codesign tool 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 had a look at my project settings, and it has :

architectures: Standard (arm7) - ${ARCHS_STANDARD_32_BIT) Build active architecture only : NO 

Not sure what

like image 955
Doz Avatar asked Jun 18 '11 03:06

Doz


1 Answers

For some reason the default architecture settings with xCode 4.2 is only for armv7. Go to Target -> Build Settings -> Architectures -> Release on value dropdown pick "Other...",

remove $(ARCHS_STANDARD_32_BIT), and add 2 rows first with "armv6" and second "armv7"
Done

like image 69
Barak Avatar answered Sep 21 '22 19:09

Barak