Re: Scripting XCode with Applescript
Re: Scripting XCode with Applescript
- Subject: Re: Scripting XCode with Applescript
- From: Benoit Ogier <email@hidden>
- Date: Tue, 30 Aug 2005 17:35:09 +0200
I have already send this to xcode-users list... and I just found a solution by myself : "set the product name to dstname" does not work, I replaced this with :
set conf to build configuration 1 of tar
set bst to build setting "PRODUCT_NAME" of conf
set value of bst to dstname
2 more lines in my code...
Le 30 août 05, à 17:18, Daniel Jalkut a écrit :
I'd say this is a bug , since Xcode doesn't seem to behave as its dictionary describes. A lot of things did change between 2.0 and 2.1, and I had to rewrite some of my scripts to work with build configurations properly.
I would ask this question over at the xcode-users lists, where they may be of more help.
Daniel
On Aug 30, 2005, at 8:48 AM, Benoit Ogier wrote:
tell application "Xcode"
activate
set dst "test.xcodeproj"
open file dst
set prj to project 1
set tar to the active target of prj
set name of tar to dstname
set name of the executable of tar to dstname
set the product name of tar to dstname
close the front window
end tell
--
Benoît Ogier{
Carte Blanche Conseil
47, rue de Lancry
75010 Paris
Tel : +33 1 42 41 21 21
Fax : +33 1 42 41 70 40
email : email@hidden
};
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden