Reputation: 13
I have a problem installing SQLite in my project on Xcode.
I followed the tutorial exactly on GitHub in Manual (Cannot import SQLite for SQLite Swift wrapper)
Problem: I have this error message that appears directly when I try to build my application. (Failed)
My version: Xcode 9.2
Linked Frameworks and Libraries Screenshot
Upvotes: 1
Views: 485
Reputation: 475
I think all you need to do under Build Phases is go to Link Binaries with Libraries, hit the add button and type in "sqlite" so you can select libsqlite3.
Now use sqlite by importing it in swift files using
import SQLite3
Upvotes: 1