Thanks for your answer. Let my explain it in more detail. I'm using XCode4 with a workspace that contains both projects, the configuration is as follow: Add B as dependency of A through the "Build Phases" -> "Link Binary With Libraries" Set up the workspace to build all the projects in the same location (in the menu File->Workspace Settings->Advanced set the "Build Location" to "Location specified by Xcode Preferences", and in the Xcode Preferences->Locations->Advanced set the "BuildLocation" to "Derived Data Location (Recommended)" and check the option "Shared subfolder" with the value "Build")
Now, when I make a change in the B project and run A, Xcode compile B and generate the .a file as expected but it never link the A project again. It's keep using the previous version until I make a clean of the A project. I check the command that Xcode perform to build and link A and It's seams ok, it make reference to the last version of B and I haven't any other version of this file in my machine. I appreciate your help. Regards On Oct 31, 2011, at 2:17 PM, Jens Alfke wrote: > > On Oct 31, 2011, at 5:50 AM, Bruno Berisso wrote: > > > This should work, so something’s clearly wrong with the way the > project/workspace is set up, but without details it’s hard to give advice. > - What version of Xcode? > - Are the two projects in a common workspace (Xcode4), or have you added the > B project to the A project to set up a dependency? > - Are you sure that the B library that A links is the exact same build > product created by the B project? > > —Jens > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com