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

ios, iphone, objective-c, xcode

Solution

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

Problem

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.

Original source