Re: problem with shell script Build Phase
Re: problem with shell script Build Phase
- Subject: Re: problem with shell script Build Phase
- From: Tommy Nordgren <email@hidden>
- Date: Thu, 9 Mar 2006 20:25:05 +0100
On 8 mar 2006, at 14.14, Jeremy Dronfield wrote:
Are you using paths in your script with macros like $BUILD_DIR or
$WRAPPER_NAME which refer to directories with spaces in their
names? I've found a problem with Xcode 2.2.1 not escaping spaces in
paths using these macros, causing rm and cp shell scripts to fail.
In these cases, I had to replace the problem macros with full
paths, with spaces manually escaped.
Regards,
Jeremy
My scripts don't use any macros, and don't attempt to create any
directories. The script that made the build fail,
had a synax error in one of it's input files, which caused error
messages not shown in the build logs. (
DIAGNOSED by running the tool in question from the terminal)
The probable reason the errors were not shown in terminal, is that
the syntax of error messages don't follow gnu
standard (file name is not listed, a column index is listed after
line number, separated by komma).
Are there any way to make the tools standard err appear in the build
log?
Also I would like to find methods to get rid of the "couldn't create
directory:Bad Adress" error messages.
They appears to appear once for each specified output file, for each
shell script build phase run.
On 8 Mar 2006, at 12:14 pm, Tommy Nordgren wrote:
I have a project that uses custom shell script build phases.
After adding a new shell script build phase, my build fails.
The error message displayed is:
error: couldn't create directory: Bad Adress
(twice)
This message was also displayed with the other shell script build
phases,
which were successful.
What can be wrong.
1) My newest shell script calls other tools than the others.
2) I get no error messages from the called tools.
3) One of the tool calls redirects standard IO to/from files.
4) The input files exists
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@virgin.net
This email sent to email@hidden
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
email@hidden
_______________________________________________
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