• 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
AppleScript Build Phase and osacompile - problem with deployed scripts for users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript Build Phase and osacompile - problem with deployed scripts for users


  • Subject: AppleScript Build Phase and osacompile - problem with deployed scripts for users
  • From: Simon Liu <email@hidden>
  • Date: Mon, 27 Sep 2004 13:04:31 +0100

Hi,

In the detailed build results, for an AppleScript build phase, XCode
1.5 invokes osacompile with two undocumented options:

-i /System/Library/Frameworks/AppleScriptKit.framework
-U MYSCRIPT.scpt

Before the AppleScript build phase was introduced in XCode 1.5, I used
to have a Shell Script build phase where I would invoke osacompile
myself, but without these two options.  There were never any problems
reported by users.

Now however, my OSX 10.3.5 users have reported problems with scripts
breaking while trying to display a dialog.  Here is an example which
breaks:

tell me
 display dialog "hello"
end tell

The error message is: hello doesn't understand the <<event panSdlog>> message

Does anybody have updated documentation for osacompile on what the -i
and -U options do, and why they might cause scripts to compile, run,
but break on certain events?

Regards,
Simon Liu
 _______________________________________________
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: How do you debug a C++ Standard Tool Application?
  • Next by Date: Re: How do you debug a C++ Standard Tool Application?
  • Previous by thread: Re: How do you debug a C++ Standard Tool Application?
  • Next by thread: NSString weirdness
  • Index(es):
    • Date
    • Thread