简体   繁体   English

iPhone 3开发要使用哪个sqlite3库

[英]Which sqlite3 library to use for iPhone 3 development

I'm new to iPhone dev and am using sqlite3 but there seem to be two different sqlite libraries available: libsqlite3.0.dylib and libsqlite3.dylib 我是iPhone开发人员的新手,正在使用sqlite3,但似乎有两个可用的sqlite库:libsqlite3.0.dylib和libsqlite3.dylib

Which is the best to use? 最好使用哪个? What's the difference? 有什么不同?

Any help appreciated. 任何帮助表示赞赏。

The libsqlite3.dylib library will be a symbolic link to the latest version supported in your Xcode installation. libsqlite3.dylib库将是Xcode安装中支持的最新版本的符号链接。 So whenever you install the latest Xcode and recompile your app, you'll get the latest 3.x library installed for free. 因此,每当安装最新的Xcode并重新编译应用程序时,您都将免费获得最新的3.x库。

This can include both performance and feature enhancements, but can also include new bugs. 这可以包括性能和功能增强,但也可以包括新的错误。 You could pick the specific version, ie libsqlite3.0.dylib , if you want to play it safe. 如果您想安全播放,可以选择特定的版本,即libsqlite3.0.dylib

The iPhone OS X contains 3, however there is an issue with Tiger having a different version. iPhone OS X包含3,但是Tiger具有不同版本存在问题。 If that's what you're using then it's worth getting the latest version and upgrading to avoid issues. 如果您使用的是这种情况,那么值得获取最新版本并进行升级以避免出现问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM