SQLCipher into swift framework


#1

Trying to import sqlcipher into my iOS swift FRAMEWORK but failed to succeed


#2

Hi @ruqiya

Did you receive a compiler error, or a runtime issue? Can you share a bit more about the problem you are having?


#3

Hi,

I have a swift framework to which I need to add the sqlcipher. The steps mentioned in the site seem for an iOS application. In framework there will be no bridging header to include the header file, where and how can I import the sqlcipher into a framework?

I try using sqlite3_rekey() which gives error as undefined.


#4

Hello @ruqiya

To use the keying API used within SQLCipher you will need to define -DSQLITE_HAS_CODEC in your CFLAGS. Can you add that and let us know your results?