I am creating a custom back-end framework for my app which encapsulates all my database related logic, so, when we are going to use any database operation, we just need to call that framework function.
Now, for database operations I need to #import <sqlite3.h>
in the file called Data.swift where my all database functions exist. But this is swift file so how can I import sqlite..?
When I use bridging-header.h, I receive error
error: using bridging headers with framework targets is unsupported
bridging-header.h has #import <sqlite3.h>
inside it and set settings Bridging Header variable.
If I add import statement in Umbrella header which gives me the error
include of non-modular header inside framework module
I googled a lot but unable to find proper answer. I also looked upon http://ift.tt/1HKWH1K and followed it properly but I think I still miss something.
Please suggest me something.
Aucun commentaire:
Enregistrer un commentaire