Hoping to remove armv6 architecture for iPad in Xcode?

When creating an iPad-only app, I get the following warning:

"warning: creating a deployment target of" 3.2 "should omit the armv6 architecture.

I would like to edit the Architectures parameter so that it only displays armv7. However, the parameters come from the following marco $ (ARCHS_UNIVERSAL_IPHONE_OS).

Is there a macro that I should use for ipad binaries (not universal).

To get around the problem, I did the following:

  •  
  • Make sure the active target is set to armv7  
  • Select "Embedded Architecture Only"

This removes the warning and creates a non-universal binary, but I have to do it EVERY time when I switch configurations because the active target continues to default with armv6.

+5
source share
3 answers

Not sure about the appropriate macro, but if you choose "different ...", delete $ (ARCHS_UNIVERSAL_IPHONE_OS) and just type "armv7" yourself, which seems to do the trick.

+5
source

I deleted the arm6 entry, but my error was never deleted until I clicked the Create for Active Architecture button.

+2
source

. Jut arm6 iTC. :

"The binary you downloaded was not valid. With iPhone support, the executable must include support for the armv6 architecture, unless the UIRequireDeviceCapabilities contains the" armv7 "capability.

I added it back, rebuilt and weird, I no longer receive a warning. Perhaps this was due to the button "Build for Active Architecture".

Anyway, I upload a new binary

+1
source

All Articles