• 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 in a Run Script Build Phase & User Interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AppleScript in a Run Script Build Phase & User Interaction


  • Subject: AppleScript in a Run Script Build Phase & User Interaction
  • From: Eric Gorr <email@hidden>
  • Date: Tue, 24 Nov 2009 11:20:49 -0500

I have an AppleScript that I would like to have executed during a Run Script build phase. This AppleScript contains the line:

set dialogResult to display dialog "Name to use:" default answer "MyName"

For the build phase, I am currently using /bin/sh as the shell and the script is simply:

osascript $SRCROOT/CreateUserFiles

When I run the script, I get the error message:

/Volumes/Depot/EricGsMainWS/Engineering/VectorWorks/TaskBranches/VW16/Cocoa/AppSource/CreateUserFiles:865:955: execution error: No user interaction allowed. (-1713)

Is there a way to have user interaction during a Run Script Build Phase using AppleScript?

If not, perhaps with another scripting language?



 _______________________________________________
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

  • Follow-Ups:
    • Re: AppleScript in a Run Script Build Phase & User Interaction
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Can I talk about iPhone SDK/API?
  • Next by Date: Re: SPAM-LOW: Re: Xcode Scripts Menu item examples
  • Previous by thread: Re: Can I talk about iPhone SDK/API?
  • Next by thread: Re: AppleScript in a Run Script Build Phase & User Interaction
  • Index(es):
    • Date
    • Thread