• 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: Cannot compile, Volume name changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot compile, Volume name changed


  • Subject: Re: Cannot compile, Volume name changed
  • From: Lorenzo <email@hidden>
  • Date: Fri, 13 Oct 2006 16:50:55 +0200

Hi,
thanks for your fast reply. I run Xcode 2.4.
All the files are already relative to the project.
To simplify I wrote that Unix cannot manage, but I really meant Xcode cannot
manage that. I even mentioned the "derived" pathnames built by XCode. So if
I add the quotes to allow the space, the derived pathnames cannot be
calculated properly. And If I don't use the quotes, I get:

/usr/bin/ld: warning -L: directory name (1/TheApp/Code/Utilities) does not
exist
/usr/bin/ld: warning -L: directory name (1/TheApp/Code/build/Deployment)
does not exist

So it cannot compile. Those paths should be

    /Volumes/MyApps/TheApp/Code/.......

Instead, since the mount point now has a " 1" the pathname starts with 1.
Too bad. Anyway, I would like to know how to set the mount point to the
original /Volumes/MyApps
Is anyone who knows?



Best Regards
--
Lorenzo
email: email@hidden

> From: Sherm Pendley <email@hidden>
> Date: Fri, 13 Oct 2006 10:28:16 -0400
> To: Lorenzo <email@hidden>
> Cc: email@hidden
> Subject: Re: Cannot compile, Volume name changed
>
> On Oct 13, 2006, at 10:11 AM, Lorenzo wrote:
>
>> I have my XCode project on a DMG volume.
>> I mount the volume and instead of the original mount point
>>     /Volumes/MyApps
>> today I get the mount point
>>     /Volumes/MyApps 1
>> Now there is no reason why MacOS X has to change the mount point
>> appending " 1" to the volume name, because this is the only one volume
>> labeled "MyApps" mounted on the desktop.
>
> There's also no reason why it shouldn't be allowed to do that.
> Depending on a specific mount point is fragile and shouldn't be done.
>
>> Of course my project won't compile because the built pathname has
>> changed,
>> and, even if I change the projects paths to the new "MyApp 1" it
>> doesn't
>> work because Unix doesn't accept spaces in a pathname
>
> Unix handles spaces perfectly well.
>
> Most shells use spaces as a delimiter between arguments; to prevent
> that from happening in those shells, you need to precede them with an
> "escape" character - usually a backslash - to let the shell know that
> the following space is to be taken literally instead of as a
> delimiter. Alternatively, you can use quotes to delimit arguments
> that contain spaces.
>
> The problem is that Xcode (and Project Builder before it...) has had
> long-standing difficulties getting the quoting correct in the shell
> commands is issues. It's not a Unix limitation; it's an Xcode bug.
>
>> How to solve this problem?
>
> First, if you're not using the latest Xcode for your OS version, you
> should seriously consider upgrading.
>
> As a workaround, "get info" on your project files, and under "path
> type" select "relative to project" instead of "absolute path". That
> will allow you to move your project directory anywhere you like
> without it losing track of your files.
>
> sherm--
>
> Web Hosting by West Virginians, for West Virginians: http://wv-www.net
> Cocoa programming in Perl: http://camelbones.sourceforge.net
>
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Cannot compile, Volume name changed (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Sending an ASCII string to a specific IP address
  • Next by Date: Re: NSTableView with NSArray and C-array question
  • Previous by thread: Re: Cannot compile, Volume name changed
  • Next by thread: Re: Cannot compile, Volume name changed
  • Index(es):
    • Date
    • Thread