• 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
Anyway to default Xcode to use relative paths?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Anyway to default Xcode to use relative paths?


  • Subject: Anyway to default Xcode to use relative paths?
  • From: "Mark Munz (DevList)" <email@hidden>
  • Date: Sat, 4 Jun 2005 08:35:59 -0500

Is there anyway to default Xcode to use relative paths, particularly when adding frameworks?

It seems that whenever I add a new framework, Xcode puts a hard-coded path to the location, even though I already relative path to the location. For example I have a setup like this:

ProjectFolder
MyProject.xcode
MyFrameworks/
First.framework <-- added earlier (setup relative path to it)
Second.framework


In the target Build settings, I have "$(SRCROOT)/MyFrameworks" in the Framework search paths. If I go and add another framework from that same folder (like Second.framework), it will insert a /Volumes/ VolName/ProjectFolder/MyFrameworks/ path into the build location (even though it's already in there in relative form).

It would seem to me, that if the framework being added is below the project file, it should assume it is relative to the project. It would also seem to me that Xcode could verify that the path isn't already defined before adding it.

Is there a way to override this default behavior?

Thanks.

Mark Munz
_______________________________________________
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: Anyway to default Xcode to use relative paths?
      • From: Eric Eizenman <email@hidden>
  • Prev by Date: TR: Header paths
  • Next by Date: Using an Applescript xcode plugin to access data from the folders under Groups&Files
  • Previous by thread: Re: TR: Header paths
  • Next by thread: Re: Anyway to default Xcode to use relative paths?
  • Index(es):
    • Date
    • Thread