I created a file with a name BridgingHeader.hand contains only one line:
#import <sqlite.h>
And, of course, the infrastructure is imported libsqlite3.dylib.
In my build settings, I also set the Objective-C Bridging Header to<ProjectName>/Bridging-Header.h
BUT ...
When I add import sqlite3Swift to my class, it says that it cannot find the module sqlite3.
source
share