Though there was no explicit "answer" to my question that I can mark as correct, here's my solution just in case anybody else has the same problem. Props to Richard for pointing me in the right direction. I played around with different settings for VALID_ARCHS
and set it to "i386"
(the simulator's architecture). Additionally, the syntax was wrong for CPU_ARCHITECTURE
. xcodebuild
uses the -sdk
option instead. The following worked for me:
xcodebuild -target MyApp
-configuration Debug
-sdk iphonesimulator6.1
VALID_ARCHS="i386"
install DSTROOT=Products