• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Build from IDE vs Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Build from IDE vs Script
      • From: Eric Wing <email@hidden>
  • Prev by Date: Projects, Targets and Schemes
  • Next by Date: Re: Build from IDE vs Script
  • Previous by thread: Projects, Targets and Schemes
  • Next by thread: Re: Build from IDE vs Script
  • Index(es):
    • Date
    • Thread