Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
bitcode を有効にしたアプリでも dSYM のアップロードを自動化する
Search
Kyusaku Mihara
November 07, 2018
Programming
6
4.2k
bitcode を有効にしたアプリでも dSYM のアップロードを自動化する
Kyusaku Mihara
November 07, 2018
Tweet
Share
More Decks by Kyusaku Mihara
See All by Kyusaku Mihara
WKWebViewの知られざるプロパティ/ Unknown properties of WKWebView
qmihara
0
520
iOSDC Japan 2017 で犯した失敗
qmihara
0
590
macOS Sierra x Xcode 7 で AppStore に Submit できない問題にぶち当たった話
qmihara
0
510
Other Decks in Programming
See All in Programming
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
470
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
C++でシェーダを書く
fadis
6
4.1k
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
190
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
330
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
Remix on Hono on Cloudflare Workers
yusukebe
1
280
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
580
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
YesSQL, Process and Tooling at Scale
rocio
169
14k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
Docker and Python
trallard
40
3.1k
Being A Developer After 40
akosma
86
590k
KATA
mclloyd
29
14k
Transcript
bitcode Λ༗ޮʹͨ͠ΞϓϦͰ dSYM ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ 2018.11.07 CI/CD Test Night
#1 Kyusaku Mihara (@qmihara)
օ͞ΜͷΞϓϦ bitcode Λ༗ޮʹ͞Ε͍ͯ·͔͢ʁ
bitcode Λ༗ޮʹͨ͠ΞϓϦͷ߹ɺ Crashlytics ͳͲͷΫϥογϡϨϙʔτπʔ ϧΛ͍ͬͯΔͱ dSYM ͷΞοϓϩʔυ͕ खؒͰ͢ΑͶʁ
None
download_dsyms • https://docs.fastlane.tools/actions/download_dsyms/ • Download dSYM files from App Store
Connect for Bitcode apps
upload_symbols_to_crashly tics • https://docs.fastlane.tools/actions/ upload_symbols_to_crashlytics/ • Upload dSYM symbolication files
to Crashlytics
None
͜ΕͰ dSYM ͷμϯϩʔυ ͱΞοϓϩʔυίϚϯυҰ ͭͰߦ͑ΔΑ͏ʹͳΓ·ͨ͠
None
bitcode Λ༗ޮʹͨ͠ΞϓϦͰ dSYM ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ
bitcode Λ༗ޮʹͨ͠ΞϓϦͰ dSYM ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ
None
ઌ΄Ͳ࡞ͨ͠ fastlane ͷ lane Λ࣮ߦ͢ΔͨΊͷϫʔΫϑ ϩʔΛ࡞Γ·͢
None
None
ίϚϯυΛ࣮ߦ͢Δ ڥ४උྃ
࣍͜ͷϫʔΫϑϩʔ ΛࣗಈͰ࣮ߦ͢Δ෦
ͱ͜ΖͰɺ͍ͭ͜ͷϫʔΫϑ ϩʔΛ࣮ߦ͢Εྑ͍ʁ
App Store Connect ͷॲཧத͕ྃͨ͠ͱ͖ʂ
None
has completed processing ϝʔϧ͕ಧ͍ͨΒ bitrise ͷ ϫʔΫϑϩʔΛ࣮ߦ͢Δʂ
Google Apps Script
ͱ͜ΖͰɺbitrise ͷϫʔΫϑϩʔ Λ Google Apps Script ͔Βୟ͘ ʹʁ
Build Trigger API https://devcenter.bitrise.io/api/build-trigger/
Build Trigger API • ΤϯυϙΠϯτ https://app.bitrise.io/app/APP-SLUG/build/ start.json • POST ͷϘσΟ
• APP-SLUG ͱ Build Trigger Token bitrise ͷίϯιʔϧ͔Βೖख
None
͋ͱ Script Λॻ͘ ͚ͩ
https://gist.github.com/qmihara/d70a25e1c33ddf9caacb28f061086a82
None
೦ͳ͕ΒϝʔϧΛड͚औͬͨΒɺ Έ͍ͨͳϑοΫ͢ΔΈͳ͍ ͷͰεέδϡʔϦϯάͰରԠ
None
ߏਤ ipa App Store Connect ϝʔϧ GAS Crashlytics bitrise ϫʔΫϑϩʔ
·ͱΊ • Θ͍͠ dSYM ͷΞοϓϩʔυ࡞ۀ͕ෆཁʹͳͬͨ • bitrise ศར • Build
Trigger API ॳΊ͚ͯͬͨͲ؆୯ • Google Apps Script ศར • ͏ͪ͜͏ͯ͠ΔɺͳͲ͋Γ·ͨ͠Β࠙ձͰੋඇڭ͑ͯ ͍ͩ͘͞ʂ
͠Όͬͯͨਓ • Kyusaku Mihara (@qmihara) • DeNA • λΫϕϧ •
ΧϯϑΝϨϯεΧϝϥϚϯ • iOSDC, try! Swift, etc • CI/CD Test Night #2 ͰΧϝ ϥϚϯΓ·͢
bitcode Λ༗ޮʹͨ͠ΞϓϦͰ dSYM ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ