What is the difference between libsqlite3.dylib and libsqlite3.0.dylib? What is the difference between libsqlite3.dylib and libsqlite3.0.dylib? ios ios

What is the difference between libsqlite3.dylib and libsqlite3.0.dylib?


Is the latter just a symlink to the latest v3 library like the convention for package managers on UNIX?

That’s it exactly.


Actually libsqlite3.dylib itself is a link it points libsqlite3.0.dylib. In other words, in the project if you add libsqlite3.dylib and add libsqlite3.0.dylib to actually add the same file, there is no difference, then why you want to add libsqlite3.dylib?

The because libsqlite3.dylib always points to the latest sqlite3 dynamic library, that is if there is a new dynamic library (eg: libsqlite3.1.dylib) libsqlite3.dylib will point to this new dynamic (libsqlite3.1.dylib, ) rather than in libsqlite3.0.dylib! So recommend or to add libsqlite3.dylib!

Reference-: http://www.databaseskill.com/3734528/