• 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: Lennart Thelander <email@hidden>
  • Date: Mon, 03 Aug 2009 17:02:09 +0200
  • Thread-topic: Batch build?

Title: Re: Batch build?
Thanks.

Now, I'm very new to shell scripts. (I know scripts as such, been an MPW programmer in the 80's and 90's.)
Do I save this as a text file and add to the project?
How do I name the file (which extension)?
How do I invoke the build from inside Xcode?

I did a test using Terminal by pasting in xcodebuild commands (modified with my target and configuration names). It builds all right, but that doesn't let me follow the progress in Xcode. For instance, I want to see how many files that are left to compile.

Regards,
Lennart


On 09-08-03 16.27, "Chris Espinosa" <email@hidden> 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


 _______________________________________________
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

References: 
 >Re: Batch build? (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Batch build?
  • Next by Date: Re: Well I am new to Objective-C
  • Previous by thread: Re: Batch build?
  • Next by thread: Re: Batch build?
  • Index(es):
    • Date
    • Thread