Still a pain to use sqlite in a framework?

I have an iOS Swift framework that uses sqlite. Whatever hack I was using to get it to work (something with a module map file) is no longer working in Xcode 7. You can't use a bridging header to #include sqlite3.h, and you can't include it in the umbrella header because you get an error about a "non modular" include.


Is this simply not supported? I don't want to spend time on undocumented hacks trying to get it to work. I'll go back to copying source code into each app project.


Rob

Replies

hey,

any solution found? facing same issue.


Thanks,

You probably won't like my "solution". I gave up using frameworks to organize my own reusable code. I don't think they work well enough yet, and I've wasted too much time on their weirdness. I do keep my reusable code in separate projects, but to create an app project, I simply copy the source files into the app project, and keep them somewhat separate in an Xcode "group". So far I don't regret it.


Rob