16
votes

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.

4
How did you fix this?Adam Waite

4 Answers

48
votes

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

5
votes

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.

3
votes

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

1
votes

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