Re: Linking debug/release app with debug/release framework?
Re: Linking debug/release app with debug/release framework?
- Subject: Re: Linking debug/release app with debug/release framework?
- From: Chris Espinosa <email@hidden>
- Date: Wed, 25 Jan 2006 09:03:46 -0800
On Jan 25, 2006, at 7:46 AM, Dirk Stegemann wrote: I use the target's "Framework Search Paths" setting. This works only if both Debug and Release version are built to different folders, of course.
So, first you'd have to include both frameworks to your project/target, then add the correct "Frameworks Search Path" to the specific framework in the your build folder to the respective Configuration.
For me it is something like that:
$(FRAMEWORK_SEARCH_PATHS) /path/to/project/../_Shared\ build\ folder/Release
and
$(FRAMEWORK_SEARCH_PATHS) /path/to/project/../_Shared\ build\ folder/Debug
This is completely unnecessary.
If your framework and your main app are using the same shared build folder, the Frameworks Search Path implicitly searches the shared build folder, and that works on a per-configuration basis.
So if you have a framework target and an app target, all you need to do is to add the framework as represented in the Products group of the framework's project to the application's Link Frameworks and Libraries build phase. Xcode takes care of the rest.
Chris |
_______________________________________________
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