Swift Framework - How to import sqlite3.h into umbrella file

I'm trying to make a swift framework to reuse some of the code from my swift previous project, this framework used some Objective-C classes (these classes are added to the umbrella file) and other swift classes that use classes from static libraries (which is the problem).

I'm trying to add the libsqlite3.0.tbd static library to the framework and use the "sqlite3.h" class inside the swift class, but I'm not sure how. I tried adding "sqlite3.h" to the umbrella file #import <sqlite3.h>

but y recibe this error

Include a non-modular header inside the 'Ulan' frame module

In my project this class was added to the bridge header file, but now, in the framework, I am not using it.

thanks for the help

+3


source to share





All Articles