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
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
4
640
Arm移行タイムアタック
qnighy
0
320
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
Jakarta EE meets AI
ivargrimstad
0
540
Quine, Polyglot, 良いコード
qnighy
4
640
Contemporary Test Cases
maaretp
0
140
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
290
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
役立つログに取り組もう
irof
28
9.6k
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Making Projects Easy
brettharned
115
5.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
4 Signs Your Business is Dying
shpigford
180
21k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Become a Pro
speakerdeck
PRO
25
5k
Building Adaptive Systems
keathley
38
2.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
860
How STYLIGHT went responsive
nonsquared
95
5.2k
Typedesign – Prime Four
hannesfritz
40
2.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
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 ͷΞοϓϩʔυΛ ࣗಈԽ͢Δ