ios pipeline with fastlane

38
Felix Krause @KrauseFx

Upload: mobile-delivery-days

Post on 23-Jan-2018

591 views

Category:

Technology


0 download

TRANSCRIPT

Felix Krause@KrauseFx

• “We can’t release, Chris is currently on vacation”

• “The provisioning profiles doesn’t contain all devices?”

• “We can’t release an update, the build is broken”

• “We need the latest screenshots for the website”

• “Uh, that bug fix is not worth a new release”

Release Day 🎉

• Testing

• Screenshots

• Build

• Signing Issues

• Prepare Push Certificate

• Upload

• Processing

• Submit

Goals

• Automatic Deployment

• Version Control

• Developer Independent 🏄

CREATING SCREENSHOTS

CODE SIGNING

AUTOMATING DEPLOYMENT

< >

SCREENSHOTS

300screenshots

...button.tap()snapshot("1LandingScreen")...

...public void testTakeScreenshot() {

Screengrab.screenshot("before_button_click");onView(withId(R.id.fab)).perform(click());

}...

< >PROVISIONING PROFILES

Build Your App

Code Signing Certificate

Provisioning Profile

Building & Signing

Signed IPA

$ cert$ sigh$ gym

https://codesigning.guide

AUTOMATING DEPLOYMENT

Beta Deployment

1. Version Bump 2. Commit & Push 3. Provisioning Profile 4. Build 5. Export 6. Upload 7. Add Release Notes 8. Distribute

$ fastlane beta

Spaceship.login("[email protected]")

cert = Spaceship.certificate.production.all.first

app = Spaceship.application.find("com.krausefx.app")

https://github.com/fastlane/boarding

https://github.com/fastlane/boarding

What’s Next?https://fastlane.tools

@KrauseFx

Thank You@KrauseFx