在 iOS9 中如今找不到 XXX.dylib 了,好比libz.tbd 若是要用到 libz.dylib,能夠用下面的辦法,來自 Stack Overflow。
- 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
歡迎關注本站公眾號,獲取更多信息