• 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: problem with shell script Build Phase
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with shell script Build Phase


  • Subject: Re: problem with shell script Build Phase
  • From: Jeremy Dronfield <email@hidden>
  • Date: Wed, 8 Mar 2006 13:14:49 +0000

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


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:
40virgin.net


This email sent to 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
  • Follow-Ups:
    • Re: problem with shell script Build Phase
      • From: Joseph Kelly <email@hidden>
    • Re: problem with shell script Build Phase
      • From: Tommy Nordgren <email@hidden>
References: 
 >problem with shell script Build Phase (From: Tommy Nordgren <email@hidden>)

  • Prev by Date: Debugging GCC STL: Debugger break instead of abort?
  • Next by Date: Re: Link problem : undefined symbol
  • Previous by thread: problem with shell script Build Phase
  • Next by thread: Re: problem with shell script Build Phase
  • Index(es):
    • Date
    • Thread