Ios 如何在Swift 3.0中使用SQLite?
我无法在我的项目中使用SQLite框架。当我得到图像中显示的错误时。有人能帮我解决这个错误吗 注意:该项目位于Swift 3.0中,我已使用Cocoapod安装SQLite库修复了该问题 由于CSQLite模块试图从默认路径访问sqlite3库,因此/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/sqlite3.h 但是,在我的例子中,我安装了两个名为的不同版本的xcode应用程序。因此,我将Xcode.app更改为Xcode 8.2.1.app 像Ios 如何在Swift 3.0中使用SQLite?,ios,swift3,sqlite.swift,Ios,Swift3,Sqlite.swift,我无法在我的项目中使用SQLite框架。当我得到图像中显示的错误时。有人能帮我解决这个错误吗 注意:该项目位于Swift 3.0中,我已使用Cocoapod安装SQLite库修复了该问题 由于CSQLite模块试图从默认路径访问sqlite3库,因此/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include
/Applications/Xcode 8.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/sqlite3.h什么是CSQLite?应该是SQLite。SQLite正在使用CSQLite从操作系统库路径构建和访问sqlite3库。你能告诉我你正在使用哪个SQLite framework for swift吗?@Poles这是链接。试试这个库-,它很容易使用。