• 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
Adding framework to projects with AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding framework to projects with AppleScript


  • Subject: Adding framework to projects with AppleScript
  • From: Benoit Ogier <email@hidden>
  • Date: Thu, 12 Jan 2006 11:12:26 +0100

Hi,

I need to add frameworks to a large amount of XCode (2.1/2.2) projects, and I tried to do that with AppleScript.

My script is :

set frame to "mydisk:Library:Frameworks:mylib.framework"
tell application "Xcode"
	activate
	set prj to the first project
	set cont to group "External Frameworks and Libraries" of prj
	add frame to cont
end tell

With this script, I get no error, but nothing happend...

Does anybody understand what's wrong in my script, or has an better solution than AppleScript (sh tool ?).

Thanks in advance,

BO

--
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.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Problem after upgrade
  • Next by Date: Re: What version of Xcode is it? [Re: Xcode 2.2 and Intel]
  • Previous by thread: Re: Problem after upgrade
  • Next by thread: helper tool for authorization
  • Index(es):
    • Date
    • Thread