No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s) No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s) ios ios

No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s)


You can override your default variables:Try to use this:

xcodebuild clean build -sdk iphonesimulator7.0 -arch "i386" ONLY_ACTIVE_ARCH=NO VALID_ARCHS="i386 x86_64"

If you building for Simulator - always build for i386/x86_64.


Go to your project settings (not targets). Then open Build Settings and add a value to Valid architectures: i386