• 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
Problem with build-product relative reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with build-product relative reference


  • Subject: Problem with build-product relative reference
  • From: "B.J. Buchalter" <email@hidden>
  • Date: Wed, 25 Apr 2007 23:35:13 -0400
  • Thread-topic: Problem with build-product relative reference

Hi Folks,

I'm having a problem with build-product relative references.

Basically, I have two Xcode projects:

1) MyLib
2) MyApp

MyApp references MyLib and has a dependency on the MyLib project.

Both projects are arranged to place build products in the same directory.

Both projects have configurations with the same names.

I have a reference to the library built by the MyLib project in the MyApp
project. I was planning on selecting the "Relative to Build Product" Path
type for the file reference, so that the MyApp project would refer to the
library built in the same configuration as the App. But this does not seem
to work.


For example:

If I add the file (relative to project), I get (in the info dialog):

Full Path:
/Volumes/shared/Users/bj/development/AUBJ/build/Debug/ConsoleConnectCore.lib

Path:
../build/Debug/ConsoleConnectCore.lib

If I then switch the Path Type Popup to "Relative To Build Product", this
switches to:

Full Path:
/Volumes/shared/Users/bj/build/Debug/ConsoleConnectCore.lib

Path:
../../../../build/Debug/ConsoleConnectCore.lib


This is not correct; obviously the full path should not have changed. I
would have expected the Full Path to stay the same, and the actual path to
be:

./ConsoleConnectCore.lib

This would have gotten me what I want.

What am I doing wrong?

Thanks!

B.J. Buchalter

Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451


 _______________________________________________
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: Version info .dylib's
  • Next by Date: Renaming files in Xcode: Where are my gigaflops?
  • Previous by thread: LSEnvironment, environment.plist, recent 2007-004 patch.
  • Next by thread: Renaming files in Xcode: Where are my gigaflops?
  • Index(es):
    • Date
    • Thread