• 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
Re: User Scripts problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Scripts problem


  • Subject: Re: User Scripts problem
  • From: Dan Korn <email@hidden>
  • Date: Mon, 18 Aug 2008 15:51:28 -0500

I have several Run Script Phases in my projects which merely execute external shell scripts. I initially ran into the same problem, where the script file doesn't have execute permissions by default when checked out from my source control system. My workaround is to add a line in the Run Script step calling chmod +x on the script file before executing it.

Dan

On Aug 18, 2008, at 11:08 AM, Mike Garcia wrote:
I have a user script that uses a command line script to mark a file as
editable/checked out in my version control system.  That command
succeeds but XCode doesn't detect that the file is now writable.  If I
switch out and switch back into XCode, XCode will detect the writable
file and allow me to edit it.  Any idea how I can get Xcode to update
the file's permissions?  I thought I could use an Applescript command
but I can't because I'm executing a sh command.

_______________________________________________ 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: User Scripts problem
      • From: "Mike Garcia" <email@hidden>
References: 
 >User Scripts problem (From: "Mike Garcia" <email@hidden>)

  • Prev by Date: Re: Xcode-users Digest, Vol 5, Issue 544
  • Next by Date: RE: User Scripts problem
  • Previous by thread: User Scripts problem
  • Next by thread: RE: User Scripts problem
  • Index(es):
    • Date
    • Thread