[Add] ZJSDK 2.5.8.16
[CocoaPods.git] / Specs / f / 3 / 4 / WCDB.swift / 1.0.6 / WCDB.swift.podspec.json
blobbb5ecdf7f3c4d4c7100a4629231fd4daf0208e82
2   "name": "WCDB.swift",
3   "version": "1.0.6",
4   "summary": "WCDB is a cross-platform database framework developed by WeChat.",
5   "description": "The WeChat Database, for Swift. (If you want to use WCDB from Objective-C, see the \"WCDB\" pod.)\n\nWCDB is an efficient, complete, easy-to-use mobile database framework used in the WeChat application.\nIt can be a replacement for Core Data, SQLite & FMDB.",
6   "homepage": "https://github.com/Tencent/wcdb",
7   "license": {
8     "type": "BSD",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "sanhuazhang": "sanhuazhang@tencent.com"
13   },
14   "platforms": {
15     "ios": "8.0",
16     "osx": "10.9",
17     "watchos": "2.0",
18     "tvos": "9.0"
19   },
20   "source": {
21     "git": "https://github.com/Tencent/wcdb.git",
22     "tag": "v1.0.6"
23   },
24   "source_files": [
25     "swift/source/**/*.swift",
26     "swift/source/**/**/*.swift",
27     "swift/source/util/*.{h,c}",
28     "repair"
29   ],
30   "module_name": "WCDBSwift",
31   "libraries": "z",
32   "requires_arc": true,
33   "prepare_command": "git submodule update --init sqlcipher;                           cd tools/templates; sh install.sh; cd ../..;                           cd sqlcipher; make -f Makefile.preprocessed; cd ..;                           cp sqlcipher/ext/fts3/fts3_tokenizer.h sqlcipher/",
34   "pod_target_xcconfig": {
35     "SWIFT_WHOLE_MODULE_OPTIMIZATION": "YES",
36     "APPLICATION_EXTENSION_API_ONLY": "YES"
37   },
38   "xcconfig": {
39     "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) WCDB_BUILTIN_SQLCIPHER WCDB_COCOAPODS",
40     "HEADER_SEARCH_PATHS": "$(inherited) ${PODS_ROOT}/WCDBSwift",
41     "LIBRARY_SEARCH_PATHS[sdk=macosx*]": "$(inherited) $(SDKROOT)/usr/lib/system",
42     "OTHER_SWIFT_FLAGS[config=Release]": "-D WCDB_HAS_CODEC",
43     "OTHER_SWIFT_FLAGS[config=Release][sdk=iphonesimulator*]": "-D WCDB_HAS_CODEC -D WCDB_IOS",
44     "OTHER_SWIFT_FLAGS[config=Release][sdk=iphoneos*]": "-D WCDB_HAS_CODEC -D WCDB_IOS",
45     "OTHER_SWIFT_FLAGS[config=Debug]": "-D WCDB_HAS_CODEC -D DEBUG",
46     "OTHER_SWIFT_FLAGS[config=Debug][sdk=iphonesimulator*]": "-D WCDB_HAS_CODEC -D WCDB_IOS -D DEBUG",
47     "OTHER_SWIFT_FLAGS[config=Debug][sdk=iphoneos*]": "-D WCDB_HAS_CODEC -D WCDB_IOS -D DEBUG",
48     "SWIFT_VERSION": "4.0"
49   },
50   "default_subspecs": "sqlcipher",
51   "subspecs": [
52     {
53       "name": "sqlcipher",
54       "public_header_files": [
55         "sqlcipher/sqlite3.h",
56         "sqlcipher/fts3_tokenizer.h"
57       ],
58       "source_files": [
59         "sqlcipher/src/callback.c",
60         "sqlcipher/src/loadext.c",
61         "sqlcipher/src/rowset.c",
62         "sqlcipher/src/treeview.c",
63         "sqlcipher/ext/userauth.c",
64         "sqlcipher/src/vtab.c",
65         "sqlcipher/src/btmutex.c",
66         "sqlcipher/src/btree.c",
67         "sqlcipher/src/btreeInt.h",
68         "sqlcipher/src/btree.h",
69         "sqlcipher/fts5.c",
70         "sqlcipher/fts5.h",
71         "sqlcipher/ext/fts3/fts3_aux.c",
72         "sqlcipher/ext/fts3/fts3_expr.c",
73         "sqlcipher/ext/fts3/fts3_hash.c",
74         "sqlcipher/ext/fts3/fts3_hash.h",
75         "sqlcipher/ext/fts3/fts3_icu.c",
76         "sqlcipher/ext/fts3/fts3_porter.c",
77         "sqlcipher/ext/fts3/fts3_snippet.c",
78         "sqlcipher/ext/fts3/fts3_tokenize_vtab.c",
79         "sqlcipher/ext/fts3/fts3_tokenizer.c",
80         "sqlcipher/ext/fts3/fts3_tokenizer1.c",
81         "sqlcipher/ext/fts3/fts3_unicode.c",
82         "sqlcipher/ext/fts3/fts3_unicode2.c",
83         "sqlcipher/ext/fts3/fts3_write.c",
84         "sqlcipher/ext/fts3/fts3.c",
85         "sqlcipher/ext/fts3/fts3.h",
86         "sqlcipher/ext/fts3/fts3Int.h",
87         "sqlcipher/src/backup.c",
88         "sqlcipher/src/legacy.c",
89         "sqlcipher/src/main.c",
90         "sqlcipher/src/notify.c",
91         "sqlcipher/src/vdbeapi.c",
92         "sqlcipher/src/table.c",
93         "sqlcipher/src/wal.c",
94         "sqlcipher/src/wal.h",
95         "sqlcipher/src/status.c",
96         "sqlcipher/src/prepare.c",
97         "sqlcipher/src/malloc.c",
98         "sqlcipher/src/mem0.c",
99         "sqlcipher/src/mem1.c",
100         "sqlcipher/src/mem2.c",
101         "sqlcipher/src/mem3.c",
102         "sqlcipher/src/mem5.c",
103         "sqlcipher/src/memjournal.c",
104         "sqlcipher/src/mutex_unix.c",
105         "sqlcipher/src/mutex_noop.c",
106         "sqlcipher/src/mutex.c",
107         "sqlcipher/src/mutex.h",
108         "sqlcipher/src/os_common.h",
109         "sqlcipher/src/os_setup.h",
110         "sqlcipher/src/os_unix.c",
111         "sqlcipher/src/queue.c",
112         "sqlcipher/src/queue.h",
113         "sqlcipher/src/os_wcdb.c",
114         "sqlcipher/src/os_wcdb.h",
115         "sqlcipher/src/mutex_wcdb.c",
116         "sqlcipher/src/mutex_wcdb.h",
117         "sqlcipher/src/os.c",
118         "sqlcipher/src/os.h",
119         "sqlcipher/src/threads.c",
120         "sqlcipher/src/bitvec.c",
121         "sqlcipher/src/pager.c",
122         "sqlcipher/src/pager.h",
123         "sqlcipher/src/pcache.c",
124         "sqlcipher/src/pcache.h",
125         "sqlcipher/src/pcache1.c",
126         "sqlcipher/ext/rtree/rtree.c",
127         "sqlcipher/ext/rtree/rtree.h",
128         "sqlcipher/ext/rtree/sqlite3rtree.h",
129         "sqlcipher/src/complete.c",
130         "sqlcipher/src/tokenize.c",
131         "sqlcipher/src/resolve.c",
132         "sqlcipher/parse.c",
133         "sqlcipher/parse.h",
134         "sqlcipher/src/analyze.c",
135         "sqlcipher/src/func.c",
136         "sqlcipher/src/wherecode.c",
137         "sqlcipher/src/whereexpr.c",
138         "sqlcipher/src/whereInt.h",
139         "sqlcipher/src/alter.c",
140         "sqlcipher/src/attach.c",
141         "sqlcipher/src/auth.c",
142         "sqlcipher/src/build.c",
143         "sqlcipher/src/delete.c",
144         "sqlcipher/src/expr.c",
145         "sqlcipher/src/insert.c",
146         "sqlcipher/src/pragma.c",
147         "sqlcipher/src/pragma.h",
148         "sqlcipher/src/select.c",
149         "sqlcipher/src/trigger.c",
150         "sqlcipher/src/update.c",
151         "sqlcipher/src/vacuum.c",
152         "sqlcipher/src/walker.c",
153         "sqlcipher/src/where.c",
154         "sqlcipher/opcodes.c",
155         "sqlcipher/opcodes.h",
156         "sqlcipher/src/sqlcipher.h",
157         "sqlcipher/sqlite3.h",
158         "sqlcipher/ext/rbu/sqlite3rbu.c",
159         "sqlcipher/ext/rbu/sqlite3rbu.h",
160         "sqlcipher/ext/userauth/sqlite3userauth.h",
161         "sqlcipher/ext/misu/json1.c",
162         "sqlcipher/ext/icu/icu.c",
163         "sqlcipher/ext/icu/sqliteicu.h",
164         "sqlcipher/src/global.c",
165         "sqlcipher/src/ctime.c",
166         "sqlcipher/src/hwtime.h",
167         "sqlcipher/src/date.c",
168         "sqlcipher/src/dbstat.c",
169         "sqlcipher/src/fault.c",
170         "sqlcipher/src/fkey.c",
171         "sqlcipher/src/sqliteInt.h",
172         "sqlcipher/src/sqliteLimit.h",
173         "sqlcipher/src/sqlite3ext.h",
174         "sqlcipher/src/hash.c",
175         "sqlcipher/src/hash.h",
176         "sqlcipher/src/printf.c",
177         "sqlcipher/src/random.c",
178         "sqlcipher/src/utf.c",
179         "sqlcipher/src/util.c",
180         "sqlcipher/src/crypto_cc.c",
181         "sqlcipher/src/crypto_impl.c",
182         "sqlcipher/src/crypto_libtomcrypt.c",
183         "sqlcipher/src/crypto.c",
184         "sqlcipher/src/crypto.h",
185         "sqlcipher/src/vdbe.c",
186         "sqlcipher/src/vdbe.h",
187         "sqlcipher/src/vdbeaux.c",
188         "sqlcipher/src/vdbeblob.c",
189         "sqlcipher/src/vdbeInt.h",
190         "sqlcipher/src/vdbemem.c",
191         "sqlcipher/src/vdbesort.c",
192         "sqlcipher/src/vdbetrace.c",
193         "sqlcipher/src/msvc.h",
194         "sqlcipher/src/vxworks.h",
195         "sqlcipher/fts3_tokenizer.h",
196         "sqlcipher/keywordhash.h"
197       ],
198       "platforms": {
199         "ios": "8.0",
200         "osx": "10.9",
201         "watchos": "2.0",
202         "tvos": "9.0"
203       },
204       "xcconfig": {
205         "GCC_PREPROCESSOR_DEFINITIONS": "$(inherited) SQLITE_ENABLE_FTS3 SQLITE_ENABLE_FTS3_PARENTHESIS SQLITE_ENABLE_API_ARMOR SQLITE_OMIT_BUILTIN_TEST SQLITE_OMIT_AUTORESET SQLITE_ENABLE_UPDATE_DELETE_LIMIT SQLITE_ENABLE_RTREE SQLITE_ENABLE_LOCKING_STYLE=1 SQLITE_SYSTEM_MALLOC SQLITE_OMIT_LOAD_EXTENSION SQLITE_CORE SQLITE_THREADSAFE=2 SQLITE_DEFAULT_CACHE_SIZE=250 SQLITE_DEFAULT_CKPTFULLFSYNC=1 SQLITE_DEFAULT_PAGE_SIZE=4096 SQLITE_OMIT_SHARED_CACHE SQLITE_HAS_CODEC SQLCIPHER_CRYPTO_CC USE_PREAD=1 SQLITE_TEMP_STORE=2 SQLCIPHER_PREPROCESSED HAVE_USLEEP SQLITE_MALLOC_SOFT_LIMIT=0 SQLITE_WCDB_SIGNAL_RETRY=1 SQLITE_DEFAULT_MEMSTATUS=0 SQLITE_ENABLE_COLUMN_METADATA SQLITE_DEFAULT_WAL_SYNCHRONOUS=1 SQLITE_LIKE_DOESNT_MATCH_BLOBS SQLITE_MAX_EXPR_DEPTH=0 SQLITE_OMIT_DEPRECATED SQLITE_OMIT_PROGRESS_CALLBACK SQLITE_OMIT_SHARED_CACHE OMIT_CONSTTIME_MEM OMIT_MEMLOCK",
206         "CLANG_WARN_CONSTANT_CONVERSION": "YES",
207         "CLANG_CXX_LANGUAGE_STANDARD": "gnu++0x",
208         "CLANG_CXX_LIBRARY": "libc++",
209         "GCC_WARN_64_TO_32_BIT_CONVERSION": "NO",
210         "CLANG_WARN_UNREACHABLE_CODE": "NO",
211         "GCC_WARN_UNUSED_FUNCTION": "NO",
212         "GCC_WARN_UNUSED_VARIABLE": "NO"
213       }
214     }
215   ]