Build from IDE vs Script
Build from IDE vs Script
- Subject: Build from IDE vs Script
- From: koko <email@hidden>
- Date: Thu, 06 Sep 2012 14:42:17 -0600
I have a Scheme which builds one Target. The destination of the Scheme is iOS Device. The Scheme name is iOS Device.
This script:
#!/bin/bash
cd /volumes/repos/_working/LibZLIB/_XC44
echo "Buliding LibZLIB Release"
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
xcrun xcodebuild clean build -scheme "iOS Device" -configuration Release
xcrun xcodebuild clean build -scheme "iOS Device" -configuration Debug
Release-iphoneos
Debug-iphoneos
as I expect.
I have another Scheme which builds the same Target but its destination is iPhone 5.1 Simulator. The Schemem name is iOS Simulator.
This script:
#!/bin/bash
cd /volumes/repos/_working/LibZLIB/_XC44
echo "Buliding LibZLIB Release"
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
xcrun xcodebuild clean build -scheme "iOS Simulator" -configuration Release
xcrun xcodebuild clean build -scheme "iOS Simulator" -configuration Debug
will not build
Release-iphonesimulator
Debug-iphonesimulator
Can anyone tell me why not?
However, if I choose Scheme iOS Simulator with destination iPhone 5.1 Simulatror from the IDE and build i do get:
Release-iphonesimulator
Debug-iphonesimulator
I would like to build all four of these from a script.
Any suggestions on how to accomplish this?
-koko
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden