Best practise for Cordova apps. Include platforms directory?

So far this is the best setup we could come up with:

I know it’s for Ionic 2, but the same things apply for Cordova (AFAIK), as the Xcode project is generated by Cordova, Ionic (again, as far as I know) just wraps these cordova CLI calls.

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:

If you have any questions, just let us know! Also, if someone else has a better setup / some insights, please share it with us!