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

Amit Kalra picture Amit Kalra · Jul 15, 2015 · Viewed 35.4k times · Source

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 work?

Also, I think it's because of this I can't import Parse into AppDelegate.swift without an error saying it doesn't exist.

Answer

StanislavK picture StanislavK · Jul 26, 2015

As for Xcode 7 b4: To add Parse support into existing project, follow the Parse "Set up the SDK" for existing project and to add the libz and libsqlite3 libs, use:

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

Please note!: Also make sure ATS works for you - this is new in iOS9!, see more info for example at NSURLSession "HTTP load failed kCFStreamErrorDomainSSL, -9813 ; Self signing certificate