# How to use SQLCipher Core data ios swift with pods

**URL:** <https://discuss.zetetic.net/t/how-to-use-sqlcipher-core-data-ios-swift-with-pods/2254>\
**Category:** Issues\
**Created:** [July 10, 2017, 1:53pm UTC](https://discuss.zetetic.net/t/how-to-use-sqlcipher-core-data-ios-swift-with-pods/2254 "2017-07-10T13:53:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joao\_Serra](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/joao_serra/32/630_2.png) [@Joao\_Serra](https://discuss.zetetic.net/u/Joao_Serra)\
**Post date:** [July 10, 2017, 1:53pm UTC](https://discuss.zetetic.net/t/how-to-use-sqlcipher-core-data-ios-swift-with-pods/2254/1 "2017-07-10T13:53:31Z")

</div>

I’ve been searching for a considerable amount of time now. Is there any place with a tutorial on how to use sqlcipher in ios by installing it with cocoapods. I’ve found out some half tutorials using objective c but im not clear on how to use it on swift with core data.

I have found this project

> **[GitHub - project-imas/encrypted-core-data: v2.0 - iOS Core Data encrypted...](https://github.com/project-imas/encrypted-core-data)**
>
> v2.0 - iOS Core Data encrypted SQLite store using SQLCipher - GitHub - project-imas/encrypted-core-data: v2.0 - iOS Core Data encrypted SQLite store using SQLCipher

but once again is using .m and .h files

I’ve already installed the pods. What else do I need to do/set?  
Can you provide me with a sample project or guide me to the correct direction? I feel lost.  
Thank you.

---

<div class="post-metadata">

**Author:** ![sjlombardo](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/sjlombardo/32/3_2.png) [@sjlombardo](https://discuss.zetetic.net/u/sjlombardo)\
**Post date:** [July 13, 2017, 9:24pm UTC](https://discuss.zetetic.net/t/how-to-use-sqlcipher-core-data-ios-swift-with-pods/2254/2 "2017-07-13T21:24:27Z")

</div>

Hello @Joao_Serra - the Project iMAS encrypted core data project is separate from SQLCipher. That said, you might find this tutorial a helpful place to start:

> **[Securing your app with encrypted-core-data](https://www.pgs-soft.com/securing-your-app-with-encrypted-core-data/)**
>
> It’s true that Apple cares very much about user’s privacy. Since iOS 8.3, it’s impossible to access arbitrary data in an application’s sandbox. Additionally, developers may choose to enable “Data Protection” option for their app, which will encrypt...
