Re: User Scripts problem
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