• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode uses the wrong version of lib because of hidden search paths?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Xcode uses the wrong version of lib because of hidden search paths?
      • From: Christiaan Hofman <email@hidden>
    • Re: Xcode uses the wrong version of lib because of hidden search paths?
      • From: Scott Ribe <email@hidden>
References: 
 >Xcode uses the wrong version of lib because of hidden search paths? (From: G S <email@hidden>)
 >Re: Xcode uses the wrong version of lib because of hidden search paths? (From: Scott Ribe <email@hidden>)
 >Re: Xcode uses the wrong version of lib because of hidden search paths? (From: Christiaan Hofman <email@hidden>)

  • Prev by Date: Re: SDKROOT & MACOSX_DEPLOYMENT_TARGET
  • Next by Date: Re: Xcode uses the wrong version of lib because of hidden search paths?
  • Previous by thread: Re: Xcode uses the wrong version of lib because of hidden search paths?
  • Next by thread: Re: Xcode uses the wrong version of lib because of hidden search paths?
  • Index(es):
    • Date
    • Thread