Skip to content

Latest commit

 

History

History
150 lines (131 loc) · 5.2 KB

CI-BitRise.md

File metadata and controls

150 lines (131 loc) · 5.2 KB

Snowflake snowflake

Continuous Integration with Bitrise.io

This document provides the steps to take your app that was cloned or downloaded from snowflake and build both the iOS and Android applications.

Content


Introduction
  • Video 1/7: https://youtu.be/EYafslJvXz8 Introduction

  • Snowflake is a starter app so all tutorials are basic in nature

  • There are a bizzilion ways of doing any of this - I'm showing one

  • There's a number of CI sites, I chose Bitrise.io

  • There's a general understanding of why to us a CI

  • The build will be done on Bitrise.io - not locally

  • The only goal is to get the build to run on Bitrise.io

  • You can still run applications locally with simulators

Bitrise Overview
iOS XCode Modifications
XCode Certs Provision Profiles App Id
Create iOS App
  • Video 5/7: Bitrise, YML, Profile, P12 Create iOS App
  • Login/Register Bitrise.io
  • Dashboard
  • Add App
  • Authenticate GitHub
  • Select repository, branch
  • Import YML
  • Download Certifications
  • Update KeyChain
  • Save .p12
  • Download Provision
  • Load .p12 and provision to Bitrise.io
  • Setup Secret and Env Vars
  • Build
iOS install
  • Video 6/7: https://youtu.be/nQWXJI0ncns iOS install from email

  • From device, open email app

  • Open letsconnect

  • Follow instructions to load in Safarie

  • Follow prompts and enjoy!

Android Setup
  • Settings -> Docker Image
  • Secret Variables
  • App/build.gradle
  • Setup Secret and Env Vars
  • Import YML
  • Run build
Things not addressed
  • Submission to any store
  • Working with other CIs
  • Complex setups for either ios or andriod
  • Debugging any failures
  • Shiny new things
  • No local builds with Bitrise CLI
  • No local builds with Fastlane
  • No tutorial on all the features of Fastlane