Link Binary With Libraries, links with incorrect Release/Debug static lib
Link Binary With Libraries, links with incorrect Release/Debug static lib
- Subject: Link Binary With Libraries, links with incorrect Release/Debug static lib
- From: "Alex Sheh" <email@hidden>
- Date: Tue, 16 Jan 2007 15:33:38 -0800
- Thread-topic: Link Binary With Libraries, links with incorrect Release/Debug static lib
Hi All,
I have a static library project that is
cross-referenced in an application project. Release version MyApp links
with libStatic.a, and Debug version MyAppd links with libStaticd.a.
MyApp’s Link Binary With Libraries phase contains a product reference to the
static library (I did this according to below posting’s instructions, which says
that the Release and Debug names of the linked static library will automatically
synchronize with top-level MyApp’s configuration).
The problem is that when I first open MyApp’s Xcode
project and build Release MyApp, it almost always fails complaining that it
can’t find the Debug libStaticd.a. If I toggle on MyApp’s configuration
from Debug to Release, then MyApp will link correctly with the Release
libStatic.a. I came across the below posting, where another user was
encountering the same problem.
http://lists.apple.com/archives/xcode-users/2005/Oct/msg00869.html
Is this an Xcode bug, or is there something that I
am missing?
Thanks,
Alex
_______________________________________________
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