Code Monkey home page Code Monkey logo

ionic-2's Introduction

ionic v2 Sample

Following the official guide: http://ionicframework.com/docs/v2/setup/installation/

Guide Draft

Registration

  1. Register the repository on bitrise.io
  2. As bitrise.io can't auto recognize Ionic projects right now, it's best to select the Configure manually without project scanning option in the Validation setup section during the setup
  3. In the Project build configuration section select Other / Manual to make bitrise to generate a very minimal workflow - we'll replace this right away anyway.
  4. In the Stack selector:
    • For Android builds: select the Android & Docker, on Ubuntu 16.04 option.
    • For iOS builds: select the right Xcode x.x.x, on macOS option (the same Xcode version you use on your Mac).

Prepare the Android project

  1. Make sure that you don't .gitignore the platforms/ directory (it's in .gitignore by default if you generated the project with ionic start ProjectName --v2).
    • For Android this is actually optional, and you can distribute your app without this, but for iOS you'll have to do this.
    • Actually you'll have to remove additional .gitignore entries:
      • platform/
      • www
      • plugins
    • And the default .gitignore in the generated platform/android by default is incorrect, /build should be replaced with build/, and .gradle should be added.

Prepare the iOS project

  1. Make sure that you don't .gitignore the platforms/ directory (it's in .gitignore by default if you generated the project with ionic start ProjectName --v2).
  2. Open the ios workspace (platforms/ios/ProjectName.xcworkspace)
  3. Turn off the Automatically manage signing option, then turn it back on
    • This is an issue with how Ionic generates the Xcode project code signing settings
  4. Set the Team
  5. In the top Device selector select Generic iOS Device
  6. Do an Archive in Xcode
  7. Fix any other issue you might have, until you can successfully generate an Archive from Xcode
  8. Make sure the Scheme is shared!

CI notes:

Either commit the platforms/ directory into your repository (remove it from .gitignore), or if you don't want to then you'll have to run cordova platform add android on any new Mac/PC or in CI, as the platforms/ directory is in the default .gitignore which is generated by ionic start ProjectName --v2.

Run locally

WIP

ToDo:

  • Build Cache

ionic-2's People

Contributors

viktorbenei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.