File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed
Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ If you are using SQLCipher in your own software please let us know at support@ze
2323Building SQLite Cipher is almost the same as compiling a regular version of SQLite with three small exceptions:
2424
2525 1. building via 'amalgamation' isn't supported (where all sqlite source is merged into one file)
26- 2. you must define SQLITE_HAS_CODEC
26+ 2. you must define SQLITE_HAS_CODEC and SQLITE_TEMP_STORE=2 in your application when including SQLCipher
2727 3. You need to link against a OpenSSL's libcrypto with sha256 support compiled in
2828
2929Example Static linking (replace /opt/local/lib with the path to libcrypto.a)
3030
31- ./configure CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="/opt/local/lib/libcrypto.a"
31+ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="/opt/local/lib/libcrypto.a"
3232 make
3333
3434Example Dynamic linking
3535
36- ./configure CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
36+ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
3737 make
3838
3939[Encrypting a database]
Original file line number Diff line number Diff line change 121121 isa = PBXProject;
122122 buildConfigurationList = 1DEB91EF08733DB70010E9CD /* Build configuration list for PBXProject "sqlcipher" */;
123123 compatibilityVersion = "Xcode 3.1";
124+ developmentRegion = English;
124125 hasScannedForEncodings = 1;
126+ knownRegions = (
127+ English,
128+ Japanese,
129+ French,
130+ German,
131+ );
125132 mainGroup = 08FB7794FE84155DC02AAC07 /* sqlcipher */;
126133 projectDirPath = "";
127134 projectRoot = "";
228235 GCC_WARN_UNUSED_VARIABLE = YES;
229236 ONLY_ACTIVE_ARCH = NO;
230237 PREBINDING = NO;
231- VALID_ARCHS = "i386 ppc ppc64 ppc7400 ppc970 x86_64 armv6";
238+ SKIP_INSTALL = YES;
239+ SUPPORTED_PLATFORMS = "iphonesimulator macosx iphoneos";
240+ VALID_ARCHS = "i386 ppc ppc64 ppc7400 ppc970 x86_64 armv6 armv7";
232241 };
233242 name = Debug;
234243 };
241250 GCC_WARN_UNUSED_VARIABLE = YES;
242251 ONLY_ACTIVE_ARCH = NO;
243252 PREBINDING = NO;
244- VALID_ARCHS = "i386 ppc ppc64 ppc7400 ppc970 x86_64 armv6";
253+ SKIP_INSTALL = YES;
254+ SUPPORTED_PLATFORMS = "iphonesimulator macosx iphoneos";
255+ VALID_ARCHS = "i386 ppc ppc64 ppc7400 ppc970 x86_64 armv6 armv7";
245256 };
246257 name = Release;
247258 };
You can’t perform that action at this time.
0 commit comments