Error on Xcode - Warning: all apps should include an armv7 architecture (current ARCHS = "")

Go To StackoverFlow.com

16

I'm constantly getting following error while building app.

The error is: Check dependencies

No architectures to compile for (ARCHS=armv7, VALID_ARCHS=arm6 arm7). warning: all apps should include an armv7 architecture (current ARCHS = "").

How can I resolve this? I'm using Xcode 4.3.1.

2012-04-04 23:26
by iOSDev
How did you fix this - Adam Waite 2013-03-28 10:51


48

In your TARGET'S Build Settings look into "Build Active Architecture Only" set Debug to "NO" and Release to "NO"

2013-11-04 08:45
by MobileDevMaster
Thanks! This worked great, but I wonder why/how. What did it actually do - darkheartfelt 2014-02-12 21:07


5

This happened with my app when I had my iPhone connected to my Mac. When I disconnect it and archive again selecting iOS Device it was OK.

2014-10-07 19:03
by Matej Zimic


3

In your target's Build Settings there is a setting called "Architectures", which is probably empty. Add "armv7" and/or "armv6" to it.

2012-04-04 23:30
by JiaYow
I have added arm7 to it, but still the error persist - iOSDev 2012-04-05 04:07
"armv7", note the 'v - JiaYow 2012-04-05 09:48
Even better, put in $(ARCHS_STANDARD) so it gets updated automaticall - kenyee 2015-03-09 14:39


1

My problem was i wrote "armv7, armv7s", just remove the quote "," and it works ok.

2014-05-30 20:42
by PaNaVTEC
Ads