Skip to content Skip to sidebar Skip to footer

Cannot Import Sqlite For Sqlite Swift Wrapper

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.

Solution 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".

Solution 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.

Post a Comment for "Cannot Import Sqlite For Sqlite Swift Wrapper"