$ xcodebuild -project Sample.xcodeproj -scheme Sample -configuration Release -sdk iphonesimulator9.2 -arch i386 -arch x86_64
Build settings from command line:
ARCHS = i386 x86_64
SDKROOT = iphonesimulator9.2
=== BUILD TARGET Sample OF PROJECT Sample WITH CONFIGURATION Release ===
Check dependencies
No architectures to compile for (ARCHS=i386 x86_64, VALID_ARCHS=arm64 armv7 armv7s).
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)