Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 675
Amit Kalra Avatar asked Jul 15 '15 01:07

Amit Kalra


1 Answers

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

like image 144
StanislavK Avatar answered Oct 16 '22 08:10

StanislavK