Home > App store, Application Loader, Rejection > SOLVED: Application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6

SOLVED: Application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6

The Problem :

I upgraded to a recent version of XCode, let us call it 4.x.x and when I submit my app to the appstore after making a release build, Application Loader slaps me in my face with this error “iPhone/iPod Touch: Application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6″
When I went to build settings for my project and saw the architecture settings, I could only see armV7. ArmV6 was completely missing and I couldn’t do anything to add armV6 back.

My 2 days of effort to solve this problem. Here goes :

  1. Tried every damn thing to resolve the architecture issue as suggested by these posts ( I have tried 10 more posts but lost the links to those :
  2. Installed the previous stable version of XCode, this completely fuc….ed! my XCode. I mean XCode wouldn’t even launch after this.
  3. Installed the latest version of XCode again, stuck with same problem
  4. Finally uninstalled latest version of XCode using this command : sudo /Developer/Library/uninstall-devtools –mode=all. Don’t forget to REBOOT !! I forgot to do that and had to pay the price with 2 more hours of wasted effort.
  5. Reinstalled old stable version after SUDO command and reboot in step#4. Things started to look better, but ended up with this new problem. Basically, my project’s name disappeared from the Dropdown next to the RUN and STOP buttons in the top-left corner. I could only see the libraries I was using.
  6. Finally solved that by clicking Product –>Manage Schemes and clicking “AutoGenerate Schemes”, which added my project name back in the list

I am a happy camper now 🙂 The whole point of me blogging about all this stuff is to share my experiences and help a fellow developer out there so that he/she doesn’t have to waste the same time and effort which I had to. Hope it helps someone!

  1. October 7, 2011 at 12:59 am

    an easier solution would be to stay with xcode 4.2 and 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”

    • Cheryl
      November 1, 2011 at 12:57 pm

      This would be an easy solution if it worked!! I’ve tried all sorts of combinations like the one shown above and still no where near working. No other hints of how to solve it either!!

    • ALKhaldi
      November 11, 2011 at 12:40 pm

      I love you Barak… it work fine.

    • November 15, 2011 at 6:52 am

      That worked for me. Thanks to you both!

    • KennyChong
      January 28, 2012 at 8:34 pm

      Thanks Barak, your method save my days! Appreciates all you guys’s info. Cheers

  2. October 25, 2011 at 9:27 am

    didnt work for me

  3. Glenn
    December 2, 2011 at 9:38 pm

    Barak’s solution does indeed work. However, this is Xcode 4.2.1 and we shouldn’t have to do this stuff by now, g’dammit! Does Apple actually test this stuff before they thrust it upon the developer community? I had been avoiding Xcode 4.X for reasons such as this (i.e. billing clients for 3 days lost due to wrangling with a link error) and was happy to stay with Xcode 3.6.2 until my customer unfortunately upgraded all his test devices en-masse to iOS5 without telling me. How was he to know that Apple won’t let you go back? So here I am, struggling with a half-baked IDE and spending most of my time google’ing for obscure error messages …

    Thanks Again, Steve

  4. January 9, 2012 at 7:51 pm

    I just recently had this issue, just changed “armv7” to “armv6 armv7”. Worked like a champ

  5. February 6, 2012 at 10:48 pm

    Barak’s solution worked fine for me, thx a lot!

  6. Death_Angel
    March 3, 2013 at 11:15 am

    Im having the same problem. Can someone using Baraks solution please specify step by step how the F*&K to do it?

  1. January 8, 2013 at 6:07 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: