Missing files libresolv.9.dylib and libxml2.dylib

Lorenzo picture Lorenzo · Sep 13, 2015 · Viewed 7.4k times · Source

I have an old Xcode project for iOS where I used libxml2.dylib and libresolv.9.dylib. After installing XCode7.

I can't find the files and I don't know where to search. Can someone help me?

Answer

jk7 picture jk7 · Dec 2, 2015

SleepyViking's answer in this thread provides a shortcut to find missing .dylib files.

  1. Go to Build Phases > Link Binary with Librairies > + > Add other
  2. Once in the file selection window do "CMD"+Shift+G (Go to folder) and type /usr/lib/
  3. From /usr/lib you can add : libz.dylib and more...
  4. Compile and have fun