# Manually add SQLCipher to Xamarin iOS project

**URL:** <https://discuss.zetetic.net/t/manually-add-sqlcipher-to-xamarin-ios-project/516>\
**Category:** SQLCipher\
**Created:** [April 10, 2015, 10:07am UTC](https://discuss.zetetic.net/t/manually-add-sqlcipher-to-xamarin-ios-project/516 "2015-04-10T10:07:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ianwilliams](https://avatars.discourse-cdn.com/v4/letter/i/aca169/32.png) [@ianwilliams](https://discuss.zetetic.net/u/ianwilliams)\
**Post date:** [April 10, 2015, 10:07am UTC](https://discuss.zetetic.net/t/manually-add-sqlcipher-to-xamarin-ios-project/516/1 "2015-04-10T10:07:13Z")

</div>

Hi there,

I’ve just purchased and downloaded a copy of SQLCipher for iOS. What I can’t figure out is how to add it to my Xamarin iOS project. If I try and add it as a component I get taken to the Xamarin components page where I have the option to buy a license again. What I want to do is add the component from the copy I’ve already bought and downloaded. The binaries folder of the copy I bought contains files:

libsqlcipher.a  
sqlite3

Might I have bought the wrong version or should I have done it through Xamarin?

Thanks in advance for your help,

Ian.

---

<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:** [April 10, 2015, 12:37pm UTC](https://discuss.zetetic.net/t/manually-add-sqlcipher-to-xamarin-ios-project/516/2 "2015-04-10T12:37:11Z")

</div>

Hello @ianwilliams - thanks for getting in touch. Indeed, to use SQLCipher with Xamarin you should purchase the SQLCipher for [Xamarin.iOS component](http://components.xamarin.com/view/sqlcipher-for-xamarin-ios) from the Xamarin Component Store. The component includes all the bindings necessary to use and bundle SQLCipher within your Xamarin project. I’ve refunded your company order for the standard SQLCipher for iOS, so you can now purchase the component version.

---

<div class="post-metadata">

**Author:** ![ianwilliams](https://avatars.discourse-cdn.com/v4/letter/i/aca169/32.png) [@ianwilliams](https://discuss.zetetic.net/u/ianwilliams)\
**Post date:** [April 10, 2015, 12:48pm UTC](https://discuss.zetetic.net/t/manually-add-sqlcipher-to-xamarin-ios-project/516/3 "2015-04-10T12:48:50Z")

</div>

Many thanks, I’ll add it through Xamarin this time.
