Re: Modify build settings and targets without using XCode UI
Re: Modify build settings and targets without using XCode UI
- Subject: Re: Modify build settings and targets without using XCode UI
- From: Philip Aker <email@hidden>
- Date: Tue, 20 Jan 2009 22:35:21 -0800
On 2009-01-20, at 19:46:41, Cathleen Faye Monzon wrote:
I'd like to ask if there is a way to modify, duplicate or add a
target and its build settings through perl scripts or AppleScript?
I've tried to check if I can manually modify entries in the
project.pbxproj file but it doesn't seem to be a straightforward as
I thought it would. I am also looking into the possibility of
automating the process of adding new targets and modifying the build
settings to make it easier for other users.
Xcode has a huge AppleScript dictionary with a target suite containing
build settings, configurations, etc.
Open up Xcode with Script Editor's 'Open Dictionary' menu item and
save the result to a file for faster access later on.
Once your script is working, you can run it from Terminal with the
'osascript' command.
You should be able to accomplish what you want.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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