• 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: Source trees don't work any more
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Source trees don't work any more


  • Subject: Re: Source trees don't work any more
  • From: Kirk Swenson <email@hidden>
  • Date: Fri, 3 Mar 2006 11:40:59 -0800

On Feb 21, 2006, at 10:12 AM, email@hidden wrote:

Date: Tue, 21 Feb 2006 08:54:22 -0500

From: Stephen Chu <email@hidden>

Subject: Re: Source trees don't work any more

To: xcode-Users List <email@hidden>


On 17 Feb 2006 20:25:1, Chris Espinosa wrote:


On Feb 17, 2006, at 3:47 PM, Stephen Chu wrote:


WTF is going on? I have the source trees working even after  

upgrade to 2.2. I have to add a new one and all the existing paths  

are escaped. Now none of the paths work and needless to say, none  

of my projects works.



What is it with Apple? Do they even have a clue? Yes, I am pissed.


Did you read the Xcode 2.2 Release Notes, Known Issues and  

Workarounds, where it says:


"Spaces in Project Path Items

  Any build setting that contains a path (or includes another build  

setting that resolves to a path) must be enclosed in double quotes  

if the path is likely to contain a space character.  Xcode will  

handle the quoted value correctly, but will fail if an unquoted  

value resolves to a path that includes a space."


Chris,


I am not sure we are talking about the same thing. The issue here is  

not XCode's handling of spaces in paths used in source code files.  

It's it's insistence on escaping spaces in source tree paths. Quoted  

or not, it changes all space characters in source tree paths to '\ '  

and all source files in the project that are specified relative to  

the trees are now missing.


Sorry to enter this thread late, but we just encountered this problem ourselves and there doesn't seem to have been a resolution.

The bug is that the Source Trees panel of the Xcode Preferences slash-escapes the source tree paths in a way that clients of the path aren't prepared to handle (Radar:  4466102).

The workaround we found is to edit the Xcode preferences manually (e.g. with Property List Editor) to remove the extraneous slashes, which allows the source tree path to work as expected. It's in PBXApplicationWideBuildSettings in com.apple.Xcode.plist.

Kirk Swenson
Fathom Lead Programmer
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

  • Prev by Date: Re: Linking static libraries
  • Next by Date: conversion of a PowerPC dylib to a universal dylib
  • Previous by thread: Re: why can't I examine defaults in the debugger?
  • Next by thread: conversion of a PowerPC dylib to a universal dylib
  • Index(es):
    • Date
    • Thread