Warning: iPhone apps must include armv6 architecture (current ARCHS = "armv7")

I want to limit my iPhone4 / iPad universal assembly application, and I set UIRequiredDeviceCapabilitiesto enable "armv7", respectively. In the build settings that I installed:

"Architectures" = "Optimized (armv7)"

"Valid Architectures" = "armv7"

But the Release and Distribution assemblies of my generic application generate this warning:

warning: iPhone apps should include an armv6 architecture (current ARCHS = "armv7")

Is this even a real problem? Can I safely ignore the warning? Why doesn't my debug build show the same warning? Does the build configuration have the same settings?

I am creating with Xcode 3.2.5, 4.2 SDK.

Similar to this question, but not quite:

"Warning: iPhone apps must include armv6 architecture," even with build configuration

+3
3

arm7 , , iPhone 4/iPad, ? , UIRequiredDeviceCapabilities Info.plist, iPhone , .

PS: iPad iPhone, , , , , iPhone 4 iPad 2 ( iPad 1)

0

. , Release. , Release "Build Active Architecture Only". , . , -.

+2

Build Active Architecture .

The target version of the iOS deployment is what defines the required architectures. iOS 4.2 and earlier included support for armv6 processors; therefore, Xcode wants you to build assemblies that can be distributed for this architecture.

If you really do not need the armv6 code, and understand that the application store will reject your application, if it is aimed at iOS 4.2 or earlier and does not have armv6, then I would suggest just changing the "Architecture" setting in target for armv7 only.

+1
source

All Articles