• 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: mkdir in PhaseScriptExecution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: mkdir in PhaseScriptExecution
      • From: Sam Deane <email@hidden>
    • Re: mkdir in PhaseScriptExecution
      • From: Sam Deane <email@hidden>
References: 
 >mkdir in PhaseScriptExecution (From: Sam Deane <email@hidden>)

  • Prev by Date: Re: Memory debuggers for MacOS 10.3.9
  • Next by Date: Re: mkdir in PhaseScriptExecution
  • Previous by thread: mkdir in PhaseScriptExecution
  • Next by thread: Re: mkdir in PhaseScriptExecution
  • Index(es):
    • Date
    • Thread