Checking what I need to include SQLite in my Swift apps

My app needs a database and I would like to use SQLite.

Other than

using import SQLite3

and

adding libsqlite3.tbd in the Build Phase

Are there any other files I need to copy or import into my project?
Answered by OOPer in 673528022

Are there any other files I need to copy or import into my project?

Nothing. Also, adding libsqlite3.tbd in the Build Phase is not needed.


The module SQLite3 is made of bunch of C-language APIs. They are hard to use even for super-experienced developers. You can find some third party libraries to ease the difficulties using the SQLite3 APIs with Swift.
Accepted Answer

Are there any other files I need to copy or import into my project?

Nothing. Also, adding libsqlite3.tbd in the Build Phase is not needed.


The module SQLite3 is made of bunch of C-language APIs. They are hard to use even for super-experienced developers. You can find some third party libraries to ease the difficulties using the SQLite3 APIs with Swift.

Nothing. Also,  adding libsqlite3.tbd in the Build Phase is not needed.

Every site I visited mentioned the adding that into the Build Phase. So I want to check, is this something that has changed recently with different versions of Xcode?

Every site I visited mentioned the adding that into the Build Phase.

Seems you have visited only old sites or sites written by people who would not make their ways up-to-date.

So I want to check, is this something that has changed recently with different versions of Xcode?

Sorry, I do not remember exactly from which version this has changed.
Checking what I need to include SQLite in my Swift apps
 
 
Q