I am getting this error while building my iOS app.
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6 i386).
ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6 i386
Go to your project, open Project (not target) ->Build Settings and set Build Active Architecture Only to NO:
Project
Build Settings
Build Active Architecture Only
NO