Re: Linker woes
Re: Linker woes
- Subject: Re: Linker woes
- From: Preston Jackson <email@hidden>
- Date: Wed, 13 May 2009 13:50:19 -0600
1. Make sure you are using a shared build directory when you have
multiple project files. It sounds like you might be, but make sure
that that the build products from both projects are sitting in the
same directory.
This is what I was doing before, but it is a mess. I want my build
products
folder to be organized, something like:
Build/Debug/Tests
Build/Debug/Apps
Build/Debug/Frameworks
Build/Debug/Libraries
Etc...
I believe Xcode uses the CONFIGURATION_BUILD_DIR to find dependent
libraries for linking. When you build a "Test" into the "Tests"
directory, Xcode will still look in the "Build/Debug/Tests" for
library linking. It appears that your libraries are not in the
CONFIGURATION_BUILD_DIR that you use when building an test (i.e. Build/
Debug/Tests), but are rather in the CONFIGURATION_BUILD_DIR that are
used when building libraries (i.e. Build/Debug/Libraries).
Try leaving the CONFIGURATION_BUILD_DIR alone. It is Xcode's happy
place. Don't let it get confused :)
Preston
_______________________________________________
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