1

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)

  • Already clean the code, build the code
  • Already handed over the files

My version: Xcode 9.2

Linked Frameworks and Libraries Screenshot

Error Message in Report

Anis HDA
  • 13
  • 3

1 Answers1

1

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.

Build Phase > Link Binary With Libraries

Now use sqlite by importing it in swift files using

import SQLite3