Slide 1

Slide 1 text

bitcode Λ༗ޮʹͨ͠ΞϓϦͰ ΋ dSYM ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ 2018.11.07 CI/CD Test Night #1 Kyusaku Mihara (@qmihara)

Slide 2

Slide 2 text

օ͞ΜͷΞϓϦ͸ bitcode Λ༗ޮʹ͞Ε͍ͯ·͔͢ʁ

Slide 3

Slide 3 text

bitcode Λ༗ޮʹͨ͠ΞϓϦͷ৔߹ɺ Crashlytics ͳͲͷΫϥογϡϨϙʔτπʔ ϧΛ࢖͍ͬͯΔͱ dSYM ͷΞοϓϩʔυ͕ खؒͰ͢ΑͶʁ

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

download_dsyms • https://docs.fastlane.tools/actions/download_dsyms/ • Download dSYM files from App Store Connect for Bitcode apps

Slide 6

Slide 6 text

upload_symbols_to_crashly tics • https://docs.fastlane.tools/actions/ upload_symbols_to_crashlytics/ • Upload dSYM symbolication files to Crashlytics

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

͜ΕͰ dSYM ͷμ΢ϯϩʔυ ͱΞοϓϩʔυ͸ίϚϯυҰ ͭͰߦ͑ΔΑ͏ʹͳΓ·ͨ͠

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

bitcode Λ༗ޮʹͨ͠ΞϓϦͰ ΋ dSYM ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ

Slide 11

Slide 11 text

bitcode Λ༗ޮʹͨ͠ΞϓϦͰ ΋ dSYM ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

ઌ΄Ͳ࡞੒ͨ͠ fastlane ͷ lane Λ࣮ߦ͢ΔͨΊͷϫʔΫϑ ϩʔΛ࡞Γ·͢

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

ίϚϯυΛ࣮ߦ͢Δ؀ ڥ͸४උ׬ྃ

Slide 17

Slide 17 text

࣍͸͜ͷϫʔΫϑϩʔ ΛࣗಈͰ࣮ߦ͢Δ෦෼

Slide 18

Slide 18 text

ͱ͜ΖͰɺ͍ͭ͜ͷϫʔΫϑ ϩʔΛ࣮ߦ͢Ε͹ྑ͍ʁ

Slide 19

Slide 19 text

App Store Connect ͷॲཧத͕׬ྃͨ͠ͱ͖ʂ

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

has completed processing ϝʔϧ͕ಧ͍ͨΒ bitrise ͷ ϫʔΫϑϩʔΛ࣮ߦ͢Δʂ

Slide 22

Slide 22 text

Google Apps Script

Slide 23

Slide 23 text

ͱ͜ΖͰɺbitrise ͷϫʔΫϑϩʔ Λ Google Apps Script ͔Βୟ͘ ʹ͸ʁ

Slide 24

Slide 24 text

Build Trigger API https://devcenter.bitrise.io/api/build-trigger/

Slide 25

Slide 25 text

Build Trigger API • ΤϯυϙΠϯτ͸ https://app.bitrise.io/app/APP-SLUG/build/ start.json • POST ͷϘσΟ͸ • APP-SLUG ͱ Build Trigger Token ͸ bitrise ͷίϯιʔϧ͔Βೖख

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

͋ͱ͸ Script Λॻ͘ ͚ͩ

Slide 28

Slide 28 text

https://gist.github.com/qmihara/d70a25e1c33ddf9caacb28f061086a82

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

࢒೦ͳ͕ΒϝʔϧΛड͚औͬͨΒɺ Έ͍ͨͳϑοΫ͢Δ࢓૊Έ͸ͳ͍ ͷͰεέδϡʔϦϯάͰରԠ

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

ߏ੒ਤ ipa App Store Connect ϝʔϧ GAS Crashlytics bitrise ϫʔΫϑϩʔ

Slide 33

Slide 33 text

·ͱΊ • ൥Θ͍͠ dSYM ͷΞοϓϩʔυ࡞ۀ͕ෆཁʹͳͬͨ • bitrise ศར • Build Trigger API ॳΊͯ࢖͚ͬͨͲ؆୯ • Google Apps Script ศར • ͏ͪ͸͜͏ͯ͠ΔɺͳͲ͋Γ·ͨ͠Β࠙਌ձͰੋඇڭ͑ͯ ͍ͩ͘͞ʂ

Slide 34

Slide 34 text

͠Ό΂ͬͯͨਓ • Kyusaku Mihara (@qmihara) • DeNA • λΫϕϧ • ΧϯϑΝϨϯεΧϝϥϚϯ • iOSDC, try! Swift, etc • CI/CD Test Night #2 ͰΧϝ ϥϚϯ΍Γ·͢

Slide 35

Slide 35 text

bitcode Λ༗ޮʹͨ͠ΞϓϦͰ ΋ dSYM ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ