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
ios frameworks swift sqlite3


source to share


No one has answered this question yet

Check out similar questions:

1348
How to "add existing frames" in Xcode 4?
545
IOS app with broken infrastructure on device, dyld: library not loaded, Xcode 6 Beta
295
Getting "No such module" error using Xcode but framework exists
195
Swift compiler error: "non-modular header inside a frame module"
180
Importing CommonCrypto to Swift
6
Swift framework header header - Include a non-modular header within a framework
2
Unable to import Common Crypto into Swift environment
1
Import Google Analytics Headers into Swift Framework?
0
How to add Cocoa pod dependency to custom swift platform
0
Sqlite for custom swift structure



All Articles
Loading...
X
Show
Funny
Dev
Pics