Re: Best Practice or The Way
Re: Best Practice or The Way
- Subject: Re: Best Practice or The Way
- From: David Blanton <email@hidden>
- Date: Mon, 11 Jan 2010 18:57:14 -0700
I ran into an issue of symbols having the wrong visibility ... when I
changed my strip it went away
Ok. So I need to build and link a debug version and release version.
I add my libs to the frameworks folder in Xcode app project and they
get linked ... is this the correct process?
Then when changing to debug / release I and to see these lib change to
debug / relase but they don't so I have been deleting the one and
adding the other. Stupid but I know no other way.
On Jan 11, 2010, at 6:20 PM, Seth Willits wrote:
On Jan 11, 2010, at 5:04 PM, David Blanton wrote:
note my release versions of libs must be stripped and this caused
problems whne they were all in a project with dependencies
I don't follow. How was this a problem?
If you have Xcode projects for the static libraries, I would use
them with direct dependencies. Xcode automatically takes the Debug
versions of the libraries and uses them in the Debug version of your
app.
However, even without Xcode's dependencies, you don't need separate
targets, just use a different library search path for the Debug and
Release configurations. I haven't done it, but I'm pretty sure the
compiler is still given a library name and a search path when
building (even if you drag in a specific library file) so by using a
different search path for each configuration it should pickup the
right library.
Hopefully that helps. Someone else might have more practical
experience with this case.
--
Seth Willits
_______________________________________________
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
_______________________________________________
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