Quick Question using ARMV7 and invalid binary

Ok, I decided I don’t want to support 3G. So that means I omit the ARMV6 architecture and this will also help on file size to be under the magic 20MB, correct?

These are the current settings I am using to build :
Target Device : iPhone + iPad
Target Platform : armv7 (iPad only)
SDK Version : iPhone 4.2 (or latest)
Target iOS Version : iPhone 3.0

I think I am getting the ‘Invalid Binary’ error when submitting to the app store because my Target iOS version should be at 4.0 instead of 3.0, correct? Is this bad to limit to >= 4.0? I would imagine most people by would have upgraded by now.

Anyways, do my settings work for what I am trying to do? What’s does everyone else use for their final build settings? Please the final results too, I am very interested, thanks!

to use ARMV7 only you must target 3.1 at least and you must add the ARMV7 enforcement entry in the UI capabilities array you have to add to the plist for all “special requirements”.

Here’s the magic trick for making that work…
Do NOT use a dictionary for UIRequiredDeviceCapabilities in your plist file (although according to the docs you can use either.)

If you’re doing armv7 only, use an Array of strings like this, or your binary will be rejected by Apple for not including armv6:

<key>UIRequiredDeviceCapabilities</key>
<array>
     <string>armv7</string>
</array>

Hope that helps save someone else some time. It’s the little things like that which make you want to jump out a window…