Re: mkdir in PhaseScriptExecution
Re: mkdir in PhaseScriptExecution
- Subject: Re: mkdir in PhaseScriptExecution
- From: Prachi Gauriar <email@hidden>
- Date: Fri, 28 Oct 2005 15:40:48 -0400
On Oct 28, 2005, at 2:37 PM, Sam Deane wrote:
I'm trying to create a Custom Build Rule Script. When the script is
executed, the results window shows that it's trying to create a
directory, but not specifying a location, and thus reporting an error:
PhaseScriptExecution /Development/projects/org/opendylan/hello/
build/hello.build/Debug/ShellToolTarget.build/Script-b6332b9e.sh
mkdir
cd /Development/projects/org/opendylan/hello
setenv ACTION build
...lots more setenvs go here
setenv YACCFLAGS
/bin/sh -c "echo \"building ${INPUT_FILE_NAME}\""
Note the mkdir on its own at the top. Does anyone have any idea
why this is happening?
In the Output Files for your Shell Script Target, do you have any
files listed without any directories in front of them, e.g.
Output Files
MyFile1.txt
MyFile2.txt
MyFile3.txt
If so, add the appropriate directory in front, e.g. $(SRCROOT)/
MyFile1.txt. Check the Build Settings Release Notes for more
predefined directories. Xcode automatically tries to create
directories for your output files, so if you don't specify a valid
directory for your output files, it freaks out.
-Prachi
_______________________________________________
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