• 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: Script to build all configurations?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script to build all configurations?


  • Subject: Re: Script to build all configurations?
  • From: James Walker <email@hidden>
  • Date: Mon, 26 Feb 2007 15:10:45 -0800

Jim Correia wrote:

How about a script which loops over the targets and configuration, so it doesn't need to be customized per project, or when the project changes:

tell application "Xcode"
    tell project 1
        set zTargets to every target
        set zConfigurations to every build configuration
        repeat with zTarget in zTargets
            repeat with zConfiguration in zConfigurations
                tell zTarget to build using zConfiguration
            end repeat
        end repeat
    end tell
end tell

Thanks, that's great. I'd add a "with timeout" block for projects that take a while to build.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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: 
 >Script to build all configurations? (From: James Walker <email@hidden>)
 >Re: Script to build all configurations? (From: Andreas Wittenstein <email@hidden>)
 >Re: Script to build all configurations? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: multithreading, dual-core
  • Next by Date: Re: Libstdc++ problems
  • Previous by thread: Re: Script to build all configurations?
  • Next by thread: Re: Script to build all configurations?
  • Index(es):
    • Date
    • Thread