downgrade memory unlock failures to info level and fix function name in log output
[sqlcipher.git] / SQLCipher.podspec.json
blob1247c8293e138c8f7293a1227820a567277a3da4
2   "authors": "Zetetic LLC",
3   "default_subspecs": "standard",
4   "description": "SQLCipher is an open source extension to SQLite that provides transparent 256-bit AES encryption of database files.",
5   "homepage": "https://www.zetetic.net/sqlcipher/",
6   "license": "BSD",
7   "name": "SQLCipher",
8   "platforms": {
9     "ios": "12.0",
10     "osx": "10.13",
11     "tvos": "12.0",
12     "watchos": "7.0"
13   },
14   "prepare_command": "./configure --enable-tempstore=yes --with-crypto-lib=commoncrypto CFLAGS=\"-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_STAT3 -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_LOAD_EXTENSION -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS4_UNICODE61 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DHAVE_USLEEP=1 -DSQLITE_MAX_VARIABLE_NUMBER=99999\"; make sqlite3.c",
15   "requires_arc": false,
16   "source": {
17     "git": "https://github.com/sqlcipher/sqlcipher.git",
18     "tag": "v4.6.0"
19   },
20   "summary": "Full Database Encryption for SQLite.",
21   "version": "4.6.0",
22   "subspecs": [
23     {
24       "compiler_flags": [
25         "-DNDEBUG",
26         "-DSQLITE_HAS_CODEC",
27         "-DSQLITE_TEMP_STORE=2",
28         "-DSQLITE_SOUNDEX",
29         "-DSQLITE_THREADSAFE",
30         "-DSQLITE_ENABLE_RTREE",
31         "-DSQLITE_ENABLE_STAT3",
32         "-DSQLITE_ENABLE_STAT4",
33         "-DSQLITE_ENABLE_COLUMN_METADATA",
34         "-DSQLITE_ENABLE_MEMORY_MANAGEMENT",
35         "-DSQLITE_ENABLE_LOAD_EXTENSION",
36         "-DSQLITE_ENABLE_FTS4",
37         "-DSQLITE_ENABLE_FTS4_UNICODE61",
38         "-DSQLITE_ENABLE_FTS3_PARENTHESIS",
39         "-DSQLITE_ENABLE_UNLOCK_NOTIFY",
40         "-DSQLITE_ENABLE_JSON1",
41         "-DSQLITE_ENABLE_FTS5",
42         "-DSQLCIPHER_CRYPTO_CC",
43         "-DHAVE_USLEEP=1",
44         "-DSQLITE_MAX_VARIABLE_NUMBER=99999"
45       ],
46       "frameworks": [
47         "Foundation",
48         "Security"
49       ],
50       "name": "common",
51       "source_files": "sqlite3.{h,c}",
52       "resource_bundles": {"SQLCipher": ["sqlcipher-resources/PrivacyInfo.xcprivacy"]},
53       "xcconfig": {
54         "HEADER_SEARCH_PATHS": "$(PODS_ROOT)/SQLCipher",
55         "GCC_PREPROCESSOR_DEFINITIONS": "SQLITE_HAS_CODEC=1",
56         "OTHER_CFLAGS": "$(inherited) -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_STAT3 -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_LOAD_EXTENSION -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS4_UNICODE61 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_FTS5 -DSQLCIPHER_CRYPTO_CC -DHAVE_USLEEP=1 -DSQLITE_MAX_VARIABLE_NUMBER=99999"
57       },
58       "user_target_xcconfig": {
59           "GCC_PREPROCESSOR_DEFINITIONS": "_SQLITE3_H_=1 _FTS5_H=1 _SQLITE3RTREE_H_=1"
60       }
61     },
62     {
63       "dependencies": {
64         "SQLCipher/common": [
66         ]
67       },
68       "name": "standard"
69     },
70     {
71       "compiler_flags": "",
72       "dependencies": {
73         "SQLCipher/common": [
75         ]
76       },
77       "name": "fts",
78       "xcconfig": {
79         "OTHER_CFLAGS": "$(inherited)"
80       }
81     },
82     {
83       "compiler_flags": "",
84       "dependencies": {
85         "SQLCipher/common": [
87         ]
88       },
89       "name": "unlock_notify",
90       "xcconfig": {
91         "OTHER_CFLAGS": "$(inherited)"
92       }
93     }
94   ]