iphone - Implicit declaration of function 'sqlite3_key'? -
i working on sqlite file encryption. have added sqlcipher & crypto frameworks in project.
now when try compile application on line
int rc = sqlite3_key(database, [key utf8string], strlen([key utf8string]));
it says implicit declaration of function 'sqlite3_key'
so above line "implicit declaration" sounds me function defined not declared. have declared ?
while searching on internet, under article, says sqlite encryption extension(see) not available publically. have purchase of cost around $2000.
see -> http://www.hwaci.com/sw/sqlite/see.html
so reason getting implicit declaration & false response while sqlite encryption process ?
yes, reason getting compiler warning. function sqlite3_key() not defined in version of libsqlite3 included ios. adding in function declaration isn't going help-- fix compiler warning, mean you'll linker error since function isn't defined anywhere.
if purchased see build own copy of sqlite, embed in app, , not use system's libsqlite3. mean you'd have "yes" when app store submission process asks if app includes encryption, meaning paperwork , time before submit app. i'm not whether there's clear indication of whether apple accept then-- would, they've been known surprise people.
Comments
Post a Comment