问题
I followed the SQLite.Swift manual installation process exactly (https://github.com/stephencelis/SQLite.swift), but a red warning appears at "import SQLite".
OSX (10.11.6) XCode 7.3.1
Question
Do I need to create and include a header file?
Reference info
In SQLite.xcodeproj, libsqlite3.tbd is automatically linked instead of libsqlite3.dyslib.

回答1:
After following the SQLite.Swift manual installation process, Select SQLite iOS from Product -> Scheme. Now select Build from Product menu.
After waiting for Build succeeded, it does not show error for "import SQLite".
回答2:
I noticed that in your project, the sqlite sub project is in your project folder. It needs to be its own separate folder.
When you drag and drop the sqlite sub project in, you need to make sure that all folders are collapsed, and put it at the bottom of all of the folders.
来源:https://stackoverflow.com/questions/39311605/cannot-import-sqlite-for-sqlite-swift-wrapper