libsqlite3.dylib and libz.dylib missing in Xcode 7. How do I use Parse?

后端 未结 5 1513
醉梦人生
醉梦人生 2020-12-23 16:58

How do I use Parse if libz.dylib and libsqlite3.dylib are missing in Xcode 7 but the .tbd version exists. I am just trying to setup Push Notifications. How do I get this to

5条回答
  •  悲哀的现实
    2020-12-23 17:44

    step 1 (as described by StanislavK):

    Go to Build Phases > Link Binary with Libraries > + > Add other
    While in the file selection window press: "CMD"+Shift+G (i.e. Go to folder) and type /usr/lib/
    From /user/lib find and add : libz.dylib and libsqlite3.dylib

    step 2: open your terminal (for mac)

    cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib
    
    sudo ln -s /usr/lib/libsqlite3.dylib libsqlite3.dylib
    sudo ln -s /usr/lib/libz.dylib libz.dylib
    

    That works for me.

提交回复
热议问题