Question about building withOUT armv6.

9 views
Skip to first unread message

John Peterson

unread,
Mar 12, 2012, 8:41:47 PM3/12/12
to tucson-cocoaheads
Dear Tucson Cocoheads group,

Sorry for the “spam”, but I’ve been wrestling with an issue for which
there seems to be little information on the ‘net, and I thought maybe
someone in this group might be able to help me zero in on a solution.

I am trying to submit a build to iTunes Connect. I’ve successfully
Archived with my Distribution Configuration (which was a copy of
Release). When I submit the app, however, I get the following error:

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

Googling this error gives a *lot* of hits – but they’re mostly
articles that discuss how to incorporate armv6 into the build.
However, I don’t want armv6 – I want to support newer devices only. I
think I could successfully get this to submit if I were to incorporate
armv6 into my project (and all of the projects in the workspace), but
I’m hoping to avoid that if at all possible.

I don’t have a lot of experience submitting apps for release, but in
another project that we’ve successfully submitted, it appears that
it’s only supporting armv7. I’ve tried to compare the two projects,
to see if there are any obvious differences, but I can’t detect any.

If anyone has any ideas where I might be able to look, I’d be hugely
obliged. Thanks in advance!

John Peterson
jo...@kihongames.com
j0...@comcast.net

Tom Smallwood

unread,
Mar 12, 2012, 8:57:55 PM3/12/12
to tucson-cocoaheads
John,

Add back in armv6 to the valid architectures. Then go to you
info.plist and set Required device capabilities to armv7. It should be
an array, only have armv7 there. Hope this helps.

-Tom
t...@objectivecoders.com
> j...@kihongames.com
> j0...@comcast.net

John Peterson

unread,
Mar 12, 2012, 10:05:21 PM3/12/12
to tucson-c...@googlegroups.com
Hi Tom!

Thanks so much for your help!

I think the last element in your suggestion was the key:

When I went to my project's target, in the Info section, I added a new key
to the "Required device capabilities" called "armv7" (I made this a BOOLEAN
type, and set the value to YES).

(To get rid of some warnings, I also changed that target's "Deployment
Target" value from 4.2 to 4.3 in the Summary section.)

That seemed to do the trick, and I was able to successfully pass validation
and upload my build.

Thanks again! :-)

John Peterson

unread,
Mar 12, 2012, 10:08:08 PM3/12/12
to tucson-c...@googlegroups.com
I should have mentioned the "Required device capabilities" had *neither* the
armv7 or armv6 entries in it, before I added armv7.

You'd *think* this might have been controlled by the "Build Active
Architecture Only" values in the "Build Settings", but apparently this is a
bit different...

Tom Smallwood

unread,
Mar 12, 2012, 10:46:31 PM3/12/12
to tucson-c...@googlegroups.com
John,

Great! I am glad I could help. It is such a pain when you get stuck on something like that. Let me know when your app gets approved, always like to see what people are working on.

-Tom
Reply all
Reply to author
Forward
0 new messages