Re:linking to a styled private framework
Re:linking to a styled private framework
- Subject: Re:linking to a styled private framework
- From: Eric Slosser <email@hidden>
- Date: Fri, 3 Jun 2005 10:12:49 -0400
At 10:35 PM -0500 6/2/05, Fritz Anderson wrote:
>That the frameworks in the Release and Debug subdirectories of your shared build directory are related to each other is information in your head. That information is not anywhere in Xcode. When you tell Xcode that the framework at Output/Release is the framework you want, it assumes you don't want similarly named frameworks anywhere else. When you shift from Release to Debug, the location you originally specified is the location it uses, because it can't read your mind that you don't really mean that any more.
It somehow knows how to do this with internal frameworks. I don't think it was unreasonable to hope there might be a way to get XCode to work with external frameworks (ones built outside of the current project) the same way it does with internal ones.
>If you want to link against different frameworks (and two frameworks, with different configurations, in two different directories, _are_ different frameworks), then include both in the project, and specify one for the Release target and the other for the Debug target. You (basically) can't change the file set of a product by switching build styles; if the file set is different, you have to use different targets.
So you're advocating having two targets, instead of one target with two build styles. That's probably what I'm going to end up doing.
Adam Thayer also suggested two other approaches. First was to put the framework and plugin into one project, the second was to tweak the options in the different styles in the plugin project to manually link with the correct framework.
--
//-------------------------------------------------
email@hidden Virtual-FX, Inc. 617 388-3765
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden