Build Issue With Static Lib
Build Issue With Static Lib
- Subject: Build Issue With Static Lib
- From: Andreas Grosam <email@hidden>
- Date: Sun, 11 Mar 2012 14:24:59 +0100
I'm having a reproducible issue where a Mac OS X product linking against a static library, which is part of the project, does not get linked properly. It seems, updated binary of the static lib will not be linked against the product, instead some old or stale version.
When editing the source of the static lib, the lib will be build correctly according the dependencies. I verified that the binary will be copied to the correct products build folder and that the final link will use it. According the transcripts, there is nothing that seems wrong. The main product will link against the static lib, and the paths are correct. Yet, the linked product apparently does not contain the actual binary of the static lib.
When debugging through the static lib when the issue is apparent, the debugger does not associate the code with the corresponding locations of the sources. But is becomes clear that the program executes some old version of the binary.
Performing a "Clean" on the final product eliminates the problem.
What's going on there?
Andreas
_______________________________________________
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