• 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
Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile AppleScripts build phase usage, undocumented -i flag to osacompile?


  • Subject: Compile AppleScripts build phase usage, undocumented -i flag to osacompile?
  • From: Jim Correia <email@hidden>
  • Date: Sun, 8 Feb 2009 07:54:30 -0500

I have some AppleScripts used at runtime in a product that I've been including as bundle resources. (Saved as compiled scripts.)

I'd prefer to revision the scripts as plain text, and compile the at build time.

The Compile AppleScripts build phase superficially does what I want. It the use of this build phase supported/recommended outside of AppleScript Studio and Automat Action type projects?

Looking at the build log, I see two undocumented flags being passed to osacompile:

-i /System/Library/Frameworks/AppleScriptKit.framework -U "foo.applescript"

The latter appears to be responsible for this property being added to my script:

	property ASDScriptUniqueIdentifier : "foo.applescript"

What is the significance of the -i flag and argument?

- Jim
_______________________________________________
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: Booleans not being set
  • Next by Date: Re: Carbon vs. Cocoa
  • Previous by thread: Re: Carbon vs. Cocoa
  • Next by thread: Application Verification Failed Problem
  • Index(es):
    • Date
    • Thread