# Best practise for Cordova apps. Include platforms directory?

**URL:** <https://discuss.bitrise.io/t/best-practise-for-cordova-apps-include-platforms-directory/885>\
**Category:** Question & Answer\
**Tags:** fastlane, cordova, ios\
**Created:** [February 21, 2017, 5:52pm UTC](https://discuss.bitrise.io/t/best-practise-for-cordova-apps-include-platforms-directory/885 "2017-02-21T17:52:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [February 22, 2017, 12:47pm UTC](https://discuss.bitrise.io/t/best-practise-for-cordova-apps-include-platforms-directory/885/4 "2017-02-22T12:47:25Z")

</div>

> [@tmwtech](#):
>
> but I do want to clarify if the platforms directory is ignored by git for the build that you linked to

Yes it is ignored, it’s always generated during the build (in the linked #How To / config), but because the cordova/ionic generated Xcode project is not compatible with Xcode 8’s new code signing mechanism you need to force the Team ID and the Code Signing Identity (as you can see it at:[quote=“viktorbenei, post:2, topic:885”]  
Note: the key to make the cordova/ionic generated Xcode project to work with Xcode 8 is to force a team id and “iPhone Developer” as the identity  
[/quote]  
)

How you can force that depends on the tool, our example demonstrates how you can do it with our Xcode Archive step.

---

_[View the full topic](https://discuss.bitrise.io/t/best-practise-for-cordova-apps-include-platforms-directory/885)._
