Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I want to limit my universal-build app to iPhone4 / iPad, and I've set UIRequiredDeviceCapabilities to include "armv7", accordingly. In the build settings I've set:

"Architectures" = "Optimized (armv7)"

"Valid Architectures" = "armv7"

But the Release and Distribution builds of my universal app are generating 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 exhibit the same warning - the build config has the same settings?

I'm building with XCode 3.2.5, 4.2 SDK.

Similar to this question, but not quite:

"Warning: iPhone apps should include an armv6 architecture" even with build config set

like image 743
TomSwift Avatar asked Nov 28 '25 21:11

TomSwift


1 Answers

I was having the same issue. I set the project settings accordingly but was still getting the error when building the Release version. I had to edit the Target settings and found that 'Build Active Architecture Only' was checked for the Release configuration. Unchecking it resolved the warning. I hope this helps someone.

like image 119
Primc Avatar answered Dec 01 '25 12:12

Primc