# Can I use Bitrise to automatically build (and deploy) Ionic 2 (Cordova) based apps?

**URL:** <https://discuss.bitrise.io/t/can-i-use-bitrise-to-automatically-build-and-deploy-ionic-2-cordova-based-apps/72>\
**Category:** Question & Answer\
**Tags:** ionic\
**Created:** [January 3, 2017, 4:53am UTC](https://discuss.bitrise.io/t/can-i-use-bitrise-to-automatically-build-and-deploy-ionic-2-cordova-based-apps/72 "2017-01-03T04:53:03Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [January 7, 2017, 8:10pm UTC](https://discuss.bitrise.io/t/can-i-use-bitrise-to-automatically-build-and-deploy-ionic-2-cordova-based-apps/72/9 "2017-01-07T20:10:36Z")

</div>

Thanks for your insights @jlcarvalho!

> [@jlcarvalho](#):
>
> Btw, its not recommended maintain the cordova/ionic generated folders on git.

The issue with this is that it works for android (`ionic platform add android` generates a proper gradle project), but `ionic platform add ios` in itself is not enough, as it generates an Xcode project which has incompatible code signing settings for Xcode 8.

So far all I could figure out for iOS is to:

1. Either include the generated Xcode project in your git repo
2. Or do the required code signing changes with a script, using e.g. `grep` to normalize/fix the code signing settings in the xcode project file. This might be a better solution, but it might also be a bit too complicated for someone not familiar with Bash and tools like `grep`.

---

_[View the full topic](https://discuss.bitrise.io/t/can-i-use-bitrise-to-automatically-build-and-deploy-ionic-2-cordova-based-apps/72)._
