# Firebase Core CocoaPod Installation and SQLCipher

**URL:** <https://discuss.zetetic.net/t/firebase-core-cocoapod-installation-and-sqlcipher/2475>\
**Category:** SQLCipher\
**Created:** [November 10, 2017, 1:54pm UTC](https://discuss.zetetic.net/t/firebase-core-cocoapod-installation-and-sqlcipher/2475 "2017-11-10T13:54:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RWarnecke](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@RWarnecke](https://discuss.zetetic.net/u/RWarnecke)\
**Post date:** [November 10, 2017, 1:54pm UTC](https://discuss.zetetic.net/t/firebase-core-cocoapod-installation-and-sqlcipher/2475/1 "2017-11-10T13:54:05Z")

</div>

Hello,

I have an iOS project with the actually SQLCipher version and a sqlite database which is crypted with sqlcipher. If I add Firebase over a CocoaPod installation I have no access to my sqlite database. I get the message “file is encrypted or is not a database”. If I delete the sqlcipher key from my sqlite database it works. If I delete the Firebase installation over CocoaPod the app works fine with the crypted sqlite database. I had tested it with the following pod commands:

1.) pod 'Firebase/Core’  
2.) pod ‘Firebase/AdMod’

What kann I do, that my iOS App works with sqlcipher and the firebase cocoa pods ?

P.S. : The project is compiled under Xcode 9.1 and iOS 11.1.

---

<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:** [November 10, 2017, 4:46pm UTC](https://discuss.zetetic.net/t/firebase-core-cocoapod-installation-and-sqlcipher/2475/2 "2017-11-10T16:46:34Z")

</div>

It is possible that something in that dependency change is referencing the standard SQLite pod which is interfering with linking. Please consult this document:

> [@Important Advisory: SQLCipher with Xcode 8 and new SDKs](https://discuss.zetetic.net/t/important-advisory-sqlcipher-with-xcode-8-and-new-sdks/1688):
>
> Note: Updated to clarify that this guidance applies to all projects built with Xcode 8, including for non-iOS targets). Apple has recently released XCode 8, along with new SDKs (e.g. iOS 10, watchOS 3, mac OS, tvOS), with many new features and enhancements. The majority of projects that include SQLCipher should have no problems after upgrading. However, there are some important changes and edge cases, so we have prepared the following important recommendations for all SQLCipher developers upgra…

---

<div class="post-metadata">

**Author:** ![Manish\_Chauhan](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.zetetic.net/manish_chauhan/32/1880_2.png) [@Manish\_Chauhan](https://discuss.zetetic.net/u/Manish_Chauhan)\
**Post date:** [October 14, 2022, 4:19am UTC](https://discuss.zetetic.net/t/firebase-core-cocoapod-installation-and-sqlcipher/2475/3 "2022-10-14T04:19:24Z")

</div>

I have same problem did anyone solved this one ?
