• 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: Adding dynamic library soft links
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding dynamic library soft links


  • Subject: Re: Adding dynamic library soft links
  • From: Daniel Vollmer <email@hidden>
  • Date: Sat, 16 Jan 2016 10:19:52 +0100

Hi Carl,

> When adding dynamic libraries to my OS X project (using the Target -> Build Phases -> Link Binary With Libraries window), Xcode resolves “libform.dylib" to the specific version, "libform.6.dylib", and adds that string instead to the build phase.

> Is there a way I can have Xcode simply retain the "libXXXX.dylib" string without resolving it until build time? Or is the only way to avoid this to use the static archive "*.a" form of the library, which doesn't include the version number, but loses the benefits of using dynamic libraries?

I had the same problem, and what I did was to edit the Xcode-project file in a text editor (with Xcode closed) and changed all references to the link target by the name of the link itself (e.g. change libXXXX.6.dylib back to libXXX.dylib). It seems Xcode only does the lookup once when adding a new file and not every time it used (or more likely the File Open dialogue does it).

HTH,
	Daniel.


 _______________________________________________
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: Adding dynamic library soft links
      • From: Carl Hoefs <email@hidden>
References: 
 >Adding dynamic library soft links (From: Carl Hoefs <email@hidden>)

  • Prev by Date: Re: How to convert a framework target to a static library target?
  • Next by Date: Re: Adding dynamic library soft links
  • Previous by thread: Adding dynamic library soft links
  • Next by thread: Re: Adding dynamic library soft links
  • Index(es):
    • Date
    • Thread