Re: Xcode uses the wrong version of lib because of hidden search paths?
Re: Xcode uses the wrong version of lib because of hidden search paths?
- Subject: Re: Xcode uses the wrong version of lib because of hidden search paths?
- From: G S <email@hidden>
- Date: Tue, 24 Aug 2010 14:01:57 -0700
> Or you can just use different LIBRARY_SEARCH_PATHS build settings.
Well, that sounded like a good idea, but unfortunately it doesn't work
because you still have to explicitly add the libs to the project. At
that point, Xcode invisibly adds their parent directories to the
library search paths and causes the error.
The only way to fix the project (as far as I can tell) is to open it
in a text editor and delete the paths that Xcode added, since they
don't get cleaned up even if you remove the libs using the GUI.
So it looks like giving the libs different names is the only
workaround, and this means I still have to manually add and remove
them from the project every time I want to switch between simulator
and device (or write a pre-build script that'll swap the libs for me).
_______________________________________________
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