Re: Defining custom build configurations for multiple projects
Re: Defining custom build configurations for multiple projects
- Subject: Re: Defining custom build configurations for multiple projects
- From: Greg Guerin <email@hidden>
- Date: Fri, 28 May 2010 09:35:02 -0700
Rush Manbert wrote:
Thanks Greg. That's not quite what I was after. All of my projects
currently have Debug and Release build configs defined. I need to
add new build configs Foo and Bar to all of them and I'm looking
for some way to do that in one place. As near as I can tell I
really need to open every project and edit the build configurations
for that project and hope that I don't make any typing errors in
the process (so they all have the same name and dependent builds
will work correctly).
Xcode is AppleScriptable. Since the actions are repetitive and have
identical parameters (name, etc.), you might be able to script some
or all of the repetitive parts, then finish the task with minor
manual actions. It depends on how many projects you really have.
Under 10, it may not be worth scripting. Dozens or hundreds, it
probably would be. That's because the script itself would have to be
tested and debugged, and that takes time.
I'd still base the build configurations on a common xcconfig file,
one for Foo and one for Bar, because that seems like the best way to
avoid having to repeat this process. The choice of xcconfig file is
also scriptable, i.e. the 'build configuration' object has a
'configuration settings file' property
-- GG
_______________________________________________
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