• 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: Absolute Paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Absolute Paths


  • Subject: Re: Absolute Paths
  • From: Shawn Erickson <email@hidden>
  • Date: Mon, 2 Aug 2010 10:25:13 -0700

On Sat, Jul 31, 2010 at 3:50 PM, Chris Suter <email@hidden> wrote:
> Hi David,
>
> On Sun, Aug 1, 2010 at 8:34 AM, David Blanton <email@hidden> wrote:
>>
>> Was it ever correct, i.e. earlier XCode versions?  For what version of
>> Xcode are relative paths supported?
>
> All versions; it's always worked. You're doing something wrong. Paths can be
> specified relative to the project root. If you want further help, you'll
> have to tell us what's going wrong. Try creating a project from scratch and
> comparing it to what you have.
> You need to be careful to quote some paths in Xcode in cases where the paths
> have spaces in them, but I don't believe that's the case for any of the
> settings you mentioned.

Well one change I noticed in recent versions of Xcode is the loss of
support for relative paths in build settings.

For example I used to have in my xcconfig files...

COL_BRANCH_ROOT = ../..

...which was used to populate the following...

COL_OUTPUT_PATH = $(COL_BRANCH_ROOT)/$(COL_OUTPUT)
COL_OUTPUT_INTERMEDIATES_PATH   = $(COL_OUTPUT_PATH)/$(COL_OUTPUT_INTERMEDIATES)
SYMROOT = $(COL_OUTPUT_PATH)
OBJROOT = $(COL_OUTPUT_INTERMEDIATES_PATH)

I now have to use...

COL_BRANCH_ROOT = $(PROJECT_DIR)/../..

...to avoid a runtime exception that takes down Xcode (well maybe it
was just a tool behind Xcode that died... need to reproduce it again
to recall).

-Shawn
 _______________________________________________
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: Absolute Paths
      • From: John Gee <email@hidden>
    • Re: Absolute Paths
      • From: Christiaan Hofman <email@hidden>
  • Prev by Date: Re: Only some breakpoints hit
  • Next by Date: Re: Absolute Paths
  • Previous by thread: Re: Only some breakpoints hit
  • Next by thread: Re: Absolute Paths
  • Index(es):
    • Date
    • Thread