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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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