• 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: Modify build settings and targets without using XCode UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Modify build settings and targets without using XCode UI (From: Cathleen Faye Monzon <email@hidden>)

  • Prev by Date: [ot] Codewarrior anyone?
  • Next by Date: Re: -arch ppc works on Xcode 3.x, but not on 2.5.
  • Previous by thread: Re: Modify build settings and targets without using XCode UI
  • Next by thread: [ot] Codewarrior anyone?
  • Index(es):
    • Date
    • Thread