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:

https://gist.github.com/zgchurch/3bac5443f6b3f407fe65


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -