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

It seems that the default project generated by ionic start ProjectName --v2 (source) is fairly broken, eg with the generated .gitignore files we couldn’t build the project which was generated on one Mac on another Mac after a git clone. We couldn’t find any ionic command which would properly regenerate the files in the ignored folders. Eg if you ignore the iOS project directory (which is in the default gitignore generated by ionic start) and regenerate it with ionic platform add ios, the generated iOS project will have code signing settings which are incompatible with Xcode 8.

You can find our current notes and the sample project code at: https://github.com/bitrise-samples/ionic-2

We’ll try to get back to work on this sample once the stacks are updated, with preinstalled ionic and cordova (after this weekend).