IPhone / iPod Touch: missing architecture for executable file

I have a problem with xCode 4.2. I get this error when creating:

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 looked through the settings of my project and it:

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

Not sure, that

+34
objective-c xcode4 ios4
Jun 18 2018-11-11T00:
source share
10 answers

For some reason, the default architecture settings with xCode 4.2 are for armv7 only. Go to Target → Build Settings → Architecture → Release from the drop-down menu, select "Other ...",

delete $ (ARCHS_STANDARD_32_BIT) and add 2 lines first with "armv6" and second "armv7"
Done

+75
Oct 07 2018-11-11T00:
source share

For Xcode 4.5, set the deployment target to at least iOS 4.3 and this will solve the problem. Earlier versions of iOS are almost extinct.

+38
Sep 14 '12 at 1:28
source share

Not an optimal solution, but I found that if I changed the deployment target to 4.3 (earlier it was 4.0), he got rid of this error.

+7
Oct 05 2018-11-11T00:
source share

For Xcode 4.5

To set "Deployment Goal" to 4.3 , "Architecture" on armv6 armv7 armv7s as described above, and "Build only active architectures" to None .

This is in a project that worked perfectly for several months before upgrading to Xcode 4.5.

+6
Oct 12 '12 at 17:56
source share

Note. Set the deployment target for iOS version 4.3 or later if you want to abandon ARM v6 support for your application. An ARM v7 processor is required to run iOS versions later than 4.2.1.

+1
Feb 06 '13 at 9:10
source share

My previous answer was deleted by the moderator because I did not follow their rules. So, answering again.

I ran into the same problem and spent 2 days on it. In my case, this triggered an upgrade to Xcode. I downgraded Xcode to a previous version and this has been fixed for me. If this is your problem, uninstall the new version, reboot and reinstall the old version. That should do it for you.

I also added some screenshots and information to my blog about this issue: http://iostipsntricks.wordpress.com/2011/06/24/solved-application-executable-is-missing-a-required-architecture-at-least- one-of-the-following-architectures-must-be-present-armv6 /

0
Jun 25 2018-11-11T00:
source share

A very similar problem with Xcode Version 4.2. and got another error:

 There is no codesign:wrapper executable. Please reinstall the Xcode developer tools. 

After downgrading Xcode to an older version, she fixed the problem.

0
Jun 30 '11 at 11:29
source share

Check this post, it is correct, just adjust the setting in Xcode 4.2, just set "Build Active Architecture only" to NO:

ITunes Connect Missing Required Architecture

0
Sep 18 '11 at 3:10
source share

My answer can solve your problem: I had this problem, even after I accepted the accepted answer, and found the following:

In your Info.plist add an entry for the necessary device capabilities. It must be an array and will have two entries.

 Item 0 : armv6 Item 1 : armv7 

It will look like this:

Mandatory device capability records

0
Jun 19 '12 at 17:06
source share

I had the same problem, tried everything that was mentioned here, but still got an error when checking - I tried the steps of armv6 and armv7, tried to add this to info.plist, and also tried to restore the distribution certificate just in case.

It turns out that the info.plist file should have $ {EXECUTABLE_NAME} and $ {PRODUCT_NAME} in the corresponding fields. ALSO Product name in the assembly settings for this scheme + Target SHOULD match the name of the scheme. I made sure that all the names match exactly EXECUTABLE_NAME, PRODUCT_NAME, the Product Name in target , binary name in the assembly settings and information plist and expandable binary name - make sure that they match the target name itself

Once all the names match and the architecture matches, it will work. Until then, he continued to give me an error while checking.

0
Aug 13 '13 at 15:55 on
source share



All Articles