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?
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?
With the new Xcode and new iOS the links with the libresolv.9.dylib and libxml2.dylib must be updated removing the reference from Target->Building Phases and adding the new files: the files are now in a different folder:
/Users/yyyyyy/Library/Developer/Xcode/iOS DeviceSupport/9.0 (xxxxxx)/Symbols/usr/lib
where yyyyyy is the user name and xxxxxx the iOS bulild.
SleepyViking's answer in this thread provides a shortcut to find missing .dylib files.
- Go to Build Phases > Link Binary with Librairies > + > Add other
- Once in the file selection window do "CMD"+Shift+G (Go to folder) and type /usr/lib/
- From /usr/lib you can add : libz.dylib and more...
- Compile and have fun
/usr/include/libxml2
to your Header Search Paths in Build Settings. –
Gorlin With the new Xcode and new iOS the links with the libresolv.9.dylib and libxml2.dylib must be updated removing the reference from Target->Building Phases and adding the new files: the files are now in a different folder:
/Users/yyyyyy/Library/Developer/Xcode/iOS DeviceSupport/9.0 (xxxxxx)/Symbols/usr/lib
where yyyyyy is the user name and xxxxxx the iOS bulild.
© 2022 - 2024 — McMap. All rights reserved.