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
CIの改善とfastlane plugin
Search
Kohei Tabata
January 19, 2017
Programming
0
2.7k
CIの改善とfastlane plugin
Kohei Tabata
January 19, 2017
Tweet
Share
More Decks by Kohei Tabata
See All by Kohei Tabata
営業活動なしで継続的に案件を受注する方法 / how to get a contract without sales as a freelance
nerd0geek1
2
880
生体データを取り扱うアプリ開発の勘所
nerd0geek1
1
85
動線改善とステータス可視化で家庭内のストレスを軽減した話
nerd0geek1
3
4.1k
家庭をプロジェクトとして運営した話
nerd0geek1
2
4.1k
fastlaneの勉強会を主催して学んだこと、得たこと、悩んだこと
nerd0geek1
1
990
みんなで育てるprecheck
nerd0geek1
1
680
matchとは?match導入のメリット
nerd0geek1
4
540
Improve your workflow with Sketch plugin
nerd0geek1
3
1.3k
Looking back try! Swift 2017
nerd0geek1
0
570
Other Decks in Programming
See All in Programming
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.3k
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
1k
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
130
Click-free releases & the making of a CLI app
oheyadam
2
120
C++でシェーダを書く
fadis
6
4.1k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
Functional Event Sourcing using Sekiban
tomohisa
0
100
CSC509 Lecture 11
javiergs
PRO
0
180
みんなでプロポーザルを書いてみた
yuriko1211
0
280
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
210
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
150
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
327
38k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Code Review Best Practice
trishagee
64
17k
Happy Clients
brianwarren
98
6.7k
Navigating Team Friction
lara
183
14k
Agile that works and the tools we love
rasmusluckow
327
21k
Optimizing for Happiness
mojombo
376
70k
Producing Creativity
orderedlist
PRO
341
39k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
380
A designer walks into a library…
pauljervisheath
204
24k
Transcript
CIͷվળͱ fastlane plugin 2017/01/19 iOS Test Night #2@DeNA
ࣗݾհ ɾKohei Tabata(@nerd0geek1) ɾSaib Studio LLC ɾiOS/MacOS/tvOS Developer ɾ࠷ۙଞͷελʔτΞοϓʹৗறͯ͠ΞϓϦ։ൃͷ ɹ͓ख͍Λ͍ͯ͠·͢ɻ
Said Studio LLC Kohei Tabata Next! Remote quick-zip plus
࣍ ɾࠓ·ͰͷCIڥ ɹϝϦοτɺσϝϦοτ ɾ࠷ۙߏஙͨ͠CIڥ ɾfastlane pluginͱ ɾ·ͱΊ
ࠓ·ͰͷCIڥ ݸਓϓϩδΣΫτࣗࣾͷখ͞ΊϓϩδΣΫτ͕ϝΠϯɻ։ൃࣗͷΈ ɹCIαʔόɿ ɹɹCircle CI(લ͔Β͓ͬͯΓɺֶशίετ͕͍ͨΊ) ɹPods/CarthageσΟϨΫτϦɿ ɹɹϦϙδτϦʹؚΊͳ͍(ϦϙδτϦΛখ͘͞อͭͨΊɻ) ɹSigningɿ ɹɹManual Signing(fastlaneΛ͏߹্ɻ։ൃऀ͕ࣗ1ਓͱ͍͏ͷ͋Δ)
ɹscriptɿ ɹجຊతʹFastfile͕ͩɺRakeλεΫΰϦΰϦ͏ɻ
ϝϦοτɾσϝϦοτ ϝϦοτ ɹɾϥΠϒϥϦؚ͕·Ε͍ͯͳ͍ɺϦϙδτϦ͕খ͘͞อͨΕΔɻ ɹɾϦϙδτϦͷࠩཧ͕͍͢͠ɻ σϝϦοτ ɹɾ͍(ຖճɺϥΠϒϥϦͷΠϯετʔϧ͕࣮ߦ͞ΕΔͨΊɺ ɹɹɹɹ1ճͷCIʹ15-30ఔඞཁ) ɹɾRakeλεΫ͕ଐਓԽ͍͢͠ɻ
࠷ۙߏஙͨ͠CIڥ ։ൃن ɹ2016/11ʹ։࢝ͨ͠ϓϩδΣΫτɻiOSΤϯδχΞx2xि5 CIαʔό ɹCircle CI
࠷ۙߏஙͨ͠CIڥ Pods/CarthageσΟϨΫτϦɿ ɹɾશͯϦϙδτϦʹؚΊΔΑ͏ʹ(Ϗϧυ͕࣌ؒ1൪ͷωοΫʹͳͬͨͨΊ) ɹɹϦϙδτϦڊେʹͳΔ͕ɺCIɺϩʔΧϧͰͷϏϧυߴʹɻ ɹɾPRʹϥΠϒϥϦͷؚ͕ࠩ·Εͯ͠·͏ʹ͍ͭͯɺϥΠϒϥϦͷՃΛ ɹɹผPRͱͯ͢͠Δ͜ͱͰରԠɻ
࠷ۙߏஙͨ͠CIڥ Signingɿ ɹɾࣗҎ֎ʹiOSΤϯδχΞ͕͋Δ ɹɾiOSΤϯδχΞҎ֎͔ΒʮΞϓϦͷ࣮ػϏϧυ͍ͨ͠ʯͱ͍͏ཁٻ͕͋ͬͨ ɹɾΞϓϦΛࣗಈͯ͠΄͍͠ɺͱ͍͏ཁٻ͋ͬͨ ɹɹɹˣ ɹɹϩʔΧϧɿ ɹɹɹAuto SigningΛ༻ ɹɹCI্ɿ
ɹɹɹfastlane pluginͰManual Signingʹมߋ ɹɹɹxcconfigͰSigningͷઃఆΛ༩
࠷ۙߏஙͨ͠CIڥ scriptɿ Ͱ͖Δ͚ͩfastlane/FastfileʹدͤΔΑ͏ʹɻ RakeλεΫͰఆ͍ٛͯͨ͠Ϗϧυ൪߸ͷΠϯΫϦϝϯτɺfastlane pluginͱͯ͠ FastfileʹدͤΔΑ͏ʹɻ
fastlane plugin? fastlane1.93.0(2016Նࠒ)͔Β͑ΔΑ͏ʹͳͬͨػೳɻ ཁ͢Δͱɺfastlaneͷmain repoʹՃ͞ΕΔͷҰൠతʹҎԼͷͷͰɺ ɾେଟͷ։ൃऀ͕͍ͦ͏ͳͷ ɾϞόΠϧΞϓϦʹؔ͢Δۤ࿑Λগͳ͘͢Δͷ Ճ͞Εͳ͍ͷ ɾҰ෦ͷ։ൃऀʹ͔ؔ͠͠ͳ͍ͷ ɾαʔυύʔςΟʹґଘ͍ͯͯ͠ϝϯςφϯε͕େมʹͳΓͦ͏ͳͷ
ɾetc… ͦ͏͍͏ͷʹ͍ͭͯɺpluginͱͯ͠ެ։ͯ͠ɺࣗͰϝϯςφϯεͯ͠Ͷɻ
ͲΜͳplugin͕͋Δͷʁ
ͲΜͳplugin͕͋Δʁ ϓϩδΣΫτϑΝΠϧฤूܥ ɾupdate_project_code_signing(Auto/Manual Signingସ) ɾsynx(XcodeͷάϧʔϓͱϑΥϧμߏͱҰகͤ͞Δ) ɾremove_provisioning_profile(provisioning profileͷআ) Info.plistฤूܥ ɾincrement_version_number_in_plist(ΞϓϦόʔδϣϯͷฤू) ɾincrement_build_number_in_plist(Ϗϧυ൪߸ͷฤू)
δϣʔΫܥ(authorɿKrauseFx) ɾascii_art(fastlaneΞΠίϯͷAAΛੜ͢Δ͆) ɾtunes(fastlaneΛͬͯԻָΛྲྀ͆͢)
·ͱΊ ɾϫʔΫϑϩʔΛ͑Δ͜ͱ͕Ͱ͖ΔͷͳΒɺϥΠϒϥϦΛϦϙδτϦʹ ɹؚΜͩ΄͏͕ྑͦ͞͏ɻ ɾSigningपΓґવͱͯ͠Ϋη͕ڧ͍ɻ ɾfastlane plugin࡞ΔͱRakeλεΫΑΓ࠶ར༻ੑ͕ߴ·ΔͷͰྑͦ͞͏ɻ
࠷ޙʹએ 2݄ʹOrigami͞ΜͰfastlaneษڧձΓ·͢ʂ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ
ࢀߟ ɾXcode8 Ͱ։ൃͲ͏͔Θͬͨͷ͔ ɹ(https://speakerdeck.com/dealforest/xcode8-dekai-fa-hadoukawatutafalseka?slide=44) ɾfastlane Plugins ɹ(https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md) ɾfastlane available Plugins
ɹ(https://docs.fastlane.tools/actions/#plugins)