objective c - Importing sqlite3.h to a Swift project via a Obj-C bridging header doesn't work -
i have created file called bridgingheader.h
, contains 1 line:
#import <sqlite.h>
and of course framework libsqlite3.dylib
imported either.
in build settings i've set value of objective-c bridging header <projectname>/bridging-header.h
but…
when add import sqlite3
swift class says cannot find module sqlite3
.
for want use sqlite 3 directly, see gist:
Comments
Post a Comment