• 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
Re: Batch build?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Batch build?


  • Subject: Re: Batch build?
  • From: Tommy Nordgren <email@hidden>
  • Date: Tue, 4 Aug 2009 15:16:29 +0200


On Aug 3, 2009, at 4:27 PM, Chris Espinosa wrote:


On Aug 3, 2009, at 12:16 AM, Lennart Thelander wrote:

I want to batch build one of my projects. This project has two targets and four build configurations. I want to batch build the two targets for two (of the four) build configurations.
I have discovered that creating an Aggregate target, both targets can be built, but only for the active build configuration.


Is there a way to do a batch build the way I want (total of 4 builds)?

This is on Xcode 2.5 on Mac OS X 10.4.11.

As a shell script:

cd /My/Project/Directory/
xcodebuild clean build -target Lite -configuration Debug
xcodebuild clean build -target Lite -configuration Release
xcodebuild clean build -target Lite -configuration AdHoc
xcodebuild clean build -target Lite -configuration AppStore
xcodebuild clean build -target Full -configuration Debug
xcodebuild clean build -target Full -configuration Release
xcodebuild clean build -target Full -configuration AdHoc
xcodebuild clean build -target Full -configuration AppStore
osascript -e 'say "Builds are all finished!"'

Chris
The last line should probably bee: say "Builds are all finished"
No need to go via osascript.
-----------------------------------
See the amazing new SF reel: Invasion of the man eating cucumbers from outer space.
On congratulations for a fantastic parody, the producer replies : "What parody?"


Tommy Nordgren
email@hidden




_______________________________________________ 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: Batch build?
      • From: Jeremy Pereira <email@hidden>
References: 
 >Batch build? (From: Lennart Thelander <email@hidden>)
 >Re: Batch build? (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Configuration for Subversion
  • Next by Date: Re: -framework vs add framework, dynamic search paths
  • Previous by thread: Re: Batch build?
  • Next by thread: Re: Batch build?
  • Index(es):
    • Date
    • Thread