SqlCipher integration

suggest change

Versions

[{“Name”:“iOS 8”,“GroupName”:null},{“Name”:“iOS 8.1”,“GroupName”:null},{“Name”:“iOS 8.2”,“GroupName”:null},{“Name”:“iOS 8.3”,“GroupName”:null},{“Name”:“iOS 8.4”,“GroupName”:null},{“Name”:“iOS 9”,“GroupName”:null},{“Name”:“iOS 9.1”,“GroupName”:null},{“Name”:“iOS 9.2”,“GroupName”:null},{“Name”:“iOS 9.3”,“GroupName”:null},{“Name”:“iOS 10.0.1”,“GroupName”:null},{“Name”:“iOS 10.1”,“GroupName”:null},{“Name”:“iOS 10.2”,“GroupName”:null},{“Name”:“iOS 10.2.1”,“GroupName”:null},{“Name”:“iOS 10.3”,“GroupName”:null}]

Introduction

SQLite is already a popular API for persistent data storage in iOS apps so the upside for development is obvious. As a programmer you work with a stable, well-documented API that happens to have many good wrappers available in Objective-C, such as FMDB and Encrypted Core Data. All security concerns are cleanly decoupled from application code and managed by the underlying framework.

Remarks

  1. Open the Terminal, switch into your project’s root directory and checkout the SQLCipher project code using Git:

$ git clone https://github.com/sqlcipher/sqlcipher.git

  1. Right click on the project and choose “Add Files to “My App”” (the label will vary depending on your app’s name). Since we cloned SQLCipher directly into the same folder as your iOS app you should see a sqlcipher folder in your root project folder. Open this folder and select sqlcipher.xcodeproj
  1. Select the Build Settings pane. In the search field, type in “Header Search Paths”. Double-click on the field under the target column and add the following path: $(PROJECT_DIR)/sqlcipher/src
  2. Start typing “Other Linker Flags” into the search field until the setting appears, double click to edit it, and add the following value: $(BUILT_PRODUCTS_DIR)/libsqlcipher.a
  3. Start typing “Other C Flags” into the search field until the setting appears, double click to edit it, and in the pop-up add the following value: -DSQLITE_HAS_CODEC
  4. Expand Target Dependencies and click on the + button at the end of the list. In the browser that opens, select the sqlcipher static library target:
  1. Expand Link Binary With Libraries, click on the +button at the end of the list, and select the libsqlcipher.a library.
  1. Finally, also under Link With Libraries, add Security.framework.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


SqlCipher integration:
* SqlCipher integration

Table Of Contents
2 Gradle
5 Intent
17 Service
19 WebView
31 SQLite
35 Glide
37 Dialog
38 ACRA
44 Handler
53 Toast
63 Menu
65 Picasso
70 Volley
71 Widgets
78 Realm
90 Spinner
95 OkHttp
108 TextView
109 ListView
111 Loader
118 Xposed
119 Security
121 ImageView
123 Doze Mode
129 SqlCipher integration
130 Drawables
131 Colors
134 Fresco
139 AdMob
145 Keyboard
146 Button
150 EditText
155 Vk SDK
163 ExoPlayer
169 XMPP
175 OpenCV
177 Threads
184 ORMLite
186 TabLayout
190 LruCache
192 Zip files
194 Fastlane
199 FileIO
202 Moshi
210 VideoView
216 Paint
218 ProGuard
226 CleverTap
228 ADB shell
229 Ping ICMP
230 AIDL
234 Context
240 JCodec
242 Okio
249 FuseView
254 Looper
261 Fastjson
263 Jackson
267 Smartcard