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
Fabricではじめるfastlane
Search
ZuQ9Nn
August 22, 2017
Programming
0
1.8k
Fabricではじめるfastlane
fastlane勉強会 vol4
https://fastlane.connpass.com/event/63231/での発表資料
ZuQ9Nn
August 22, 2017
Tweet
Share
More Decks by ZuQ9Nn
See All by ZuQ9Nn
今更ながらHoloGiraffeのクローンアプリ作成にチャレンジしてみた
zuq9nn
0
3.1k
2018/04/17 HoloLens RS4 Preview公開記念勉強会! @アカツキ
zuq9nn
1
680
2018/03/09 第五回HoloLens読書会
zuq9nn
0
4.1k
HoloLensでユニティちゃんを椅子に 座らせてみた”その後”の話
zuq9nn
0
5.1k
HoloLensのはじめかた
zuq9nn
1
4.4k
Tokyo HoloLens meets up vol.5 LT
zuq9nn
1
4.4k
第六回カジュアルSwift勉強会@青葉台
zuq9nn
2
920
Other Decks in Programming
See All in Programming
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
180
Better Code Design in PHP
afilina
PRO
0
120
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
770
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
2.5k
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
650
Importmapを使ったJavaScriptの 読み込みとブラウザアドオンの影響
swamp09
4
1.4k
Click-free releases & the making of a CLI app
oheyadam
2
110
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
520
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
810
ヤプリ新卒SREの オンボーディング
masaki12
0
120
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
300
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
Featured
See All Featured
Writing Fast Ruby
sferik
627
61k
Speed Design
sergeychernyshev
24
610
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Ruby is Unlike a Banana
tanoku
96
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Navigating Team Friction
lara
183
14k
Embracing the Ebb and Flow
colly
84
4.5k
Scaling GitHub
holman
458
140k
Happy Clients
brianwarren
98
6.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Transcript
FabricͰ͡ΊΔ fastlane fastlaneษڧձ vol4 2017/08/22 ZuQ9Nn
ࣗݾհ ZuQ9Nn(͖ͣΎʔΜ) ීஈࣄͰObjective-CͰiOSͷΞϓϦ։ൃ ͳΜͱະͩʹ࣮ͰSwiftΛॻ͍͍ͯ·ͤΜ fastlaneೖ࣮ͯ͠ར༻͍ͯ͠Δ͕·ͩ·ͩ ॳڃϨϕϧ
Fabricʹ͍ͭͯ 2014ʹTwitter͕࢝ΊͨϞόΠϧ։ൃ͚ͷ αʔϏε ॳCrashlytics(ΞϓϦͷΫϥογϡղੳ)ɺ MoPub(ࠂ)ɺTwitter SDKΛఏڙ 201510݄ʹfastlane͕FabricʹΈࠐΈ 20171݄ʹGoogle͕ࣄۀΛങऩ
fastlaneؔ࿈ͰͷFabricͷػೳ fastlaneͷΠϯετʔϧͷαϙʔτ Fastfileͷهड़αϙʔτ GUIϕʔεͰΨΠμϯεʹै͍͚ͬͯ ͒Kʂʂ ͨͩ͠ɺશͯӳޠ
ࠓճͷڥ macOS Sierra 10.12.6 Xcode 8.3.3 ͋Β͔͡ΊσεΫτοϓʹFabricSampleͷϓϩδΣΫτ Λ࡞(ݴޠSwift) ͦͷଞgemͷΠϯετʔϧಛʹແ͠ʂʂ Developer
CenteriTunes Connect ଆͷઃఆಛʹͯ͠ ͍ͳ͍ɻ
Fabricͷಋೖ ·ͣhttps://get.fabric.ioͷαΠτʹΞΫηε GET FABRICΛΫϦοΫͯ͠ΞΧϯτͷ࡞
None
ΞΧϯτ࡞ ΞΧϯτ࡞ը໘Ͱ Emai, Password, Full Name, OrganizationΛೖྗ ࢲϩϘοτͰ͋Γ·ͤΜʹνΣοΫ I agree
to the Fabric Software and ServiceʹνΣοΫ Send ConfirmationϘλϯΛԡ͢ͱ֬ೝϝʔϧ͕ಧ͘ ͷͰঝೝ͢Δ
None
FabricΞϓϦͷಋೖ ϝʔϧͰͷೝূ͕ྃ͢ΔͱϓϥοτϑΥʔϜ બͷը໘͕දࣔ͞ΕΔͷͰɺࠓճ AppleΛ બ MacʹFabric.app͕μϯϩʔυ͞ΕΔͷͰىಈ ͢Δ
None
FabricΞϓϦͷSign Up MacͷFabric.appʹ Emai,PasswodΛೖྗ ͯ͠Sign UpΛߦ͏
ϓϩδΣΫτʹFabricΛಋೖ Fabric.appͷ + New AppΛΫϦοΫ Select your Xcode Projectը໘Λදࣔ
ϓϩδΣΫτʹFabricΛಋೖ Select your Xcode Projectը໘ͷϒϥ ζΛબ ͋Β͔͡Ί࡞ͯ͠ ͍ͨFabricSampleϓ ϩδΣΫτΛબ
None
ϓϩδΣΫτʹFabricΛಋೖ Select a Kit to Install ը໘͕දࣔ͞ΕΔͷ ͰCrashlyticsͷInstall ΛΫϦοΫ
ϓϩδΣΫτʹFabricΛಋೖ Terms Agreementը ໘͕දࣔ͞ΕΔͷͰ AgreeΛΫϦοΫ
Run Scriptʹ͍ͭͯ Fabric.appͰAdd Run Scriptը໘͕දࣔ ͞Ε·͢ Ұ୴Xcodeͷ FabricSampleϓϩ δΣΫτΛىಈ
XcodeʹRun ScriptΛՃ XcodeͷφϏήʔγϣϯΤϦΞͰFabricSampleΛબ TARGETͷFabricSmapleΛબ Build PhasesΛબ +ϘλϯΛΫϦοΫ New Run Script
PhaseΛબ
None
XcodeʹRun ScriptΛՃ XcodeͷRun ScriptΛ։͖ Fabric.appͰAdd Run Scriptը໘ͷCopyϘλϯ Λԡ͢ XcodeͷRun Scriptʹϖʔετ
XcodeϓϩδΣΫτͰίϚϯυBͰϓϩδΣΫτ ΛBuild͢Δ
None
XcodeʹϥΠϒϥϦΛՃ Fabric.appͰInstall the SDK Kitsը໘͕දࣔ͞ ΕΔ Fabric.appͷϥΠϒϥϦΛυϥοάΞϯυυ ϩοϓͰXcodeϓϩδΣΫτʹՃ
None
XcodeʹFabric༻ίʔυΛهड़ Fabric.appͰStep 1 of 2 ը໘͕දࣔ͞Ε͍ͯΔ XcodeϓϩδΣΫτͷφϏήʔγϣϯΤϦΞͰ AppDelegate.swiftΛબ AppDelegate.swiftʹFabric.appͰStep 1
of 2 ը໘ ͷίʔυΛࣸ͢ Fabric.appͰStep 1 of 2 ը໘ͷNextϘλϯΛԡ͢
None
XcodeͷϏϧυͱ࣮ߦ Fabric.appͰStep 2 of 2 ը໘͕දࣔ͞Ε͍ͯΔ XcodeͷϓϩδΣΫτ ͰίϚϯυR Λԡͯ͠ Ϗϧυͱ࣮ߦΛߦ͏
Fabricͷಋೖྃ Fabric.appͰ Installation Completeը ໘͕දࣔ͞ΕͨΒ Xcodeͷಋೖྃ
FabricͰfastlaneͷΠϯετʔ ϧ Fabric.appͷରͷϓ ϩδΣΫτͷFastlane λϒΛΫϦοΫ͠ fastlaneը໘Λදࣔ Get FastlaneϘλϯΛԡ ͢
FabricͰfastlaneͷΠϯετʔ ϧ Fabric.appͰChecking for fasltlaneը໘͕දࣔ͞Ε͍ͯ Δ Checking for fasltlanը໘ Ͱɹ”/Applications/
Fabric.app/Contents/ Resources/which_fastlane.sh” ΛλʔϛφϧଧͪࠐΉࢦ͕ࣔ ग़͍ͯΔͷͰλʔϛφϧΛ։ ͍ͯͪ͜ΒͷίϚϯυΛ࣮ߦ
FabricͰfastlaneͷFatfileΞγε τػೳ Fabric.appͷfastlaneը ໘ʹUninstallϘλϯ͕ දࣔ͞Ε͍ͯͨΒΠϯ ετʔϧྃʂʂ ݁ہλʔϛφϧඞཁ ͕ͩgembundler ඞཁແ͠ɺָνϯʂʂ
FabricͰfastlaneͷFatfileΞγε τػೳ Fabric.appͷfastlaneը ໘ͷTASKSͷ Distribute Beta Builds ͷGet StartedϘλϯΛ ΫϦοΫ
FabricͰfastlaneͷFatfileΞγε τػೳ Fabric.appͷfastlaneɺ Set up fastlane betaը ໘͕දࣔ͞ΕΔ Configure Your
Project ΛΫϦοΫ
FabricͰfastlaneͷFatfileΞγε τػೳ Fabric.appͷfastlaneɺ Configure Projectը໘͕ද ࣔ͞ΕΔ Project / Workspaceͷ Select
project or workspace to distributeΛબ ରͷ.xcodeprojΛબ
FabricͰfastlaneͷFatfileΞγε τػೳ Fabric.appͷfastlaneɺ Configure Projectը໘ʹ SchemeͱExprot Method ͕දࣔ͞ΕΔ SchemeΛબ͢Δ Export
MethodʹAdhoc Λࢦఆ͢Δ
FabricͰfastlaneͷFatfileΞγε τػೳ ϓϩδΣΫτΛίϚϯ υBͰbuild͢ΔΑ͏ʹ ࢦ͕ࣔग़͍ͯΔͷͰߦ ͏
FabricͰfastlaneͷFatfileΞγε τػೳ Setup fastle beta ͷᶆ Give it a tryʹهड़͞Ε͍ͯΔί
ϚϯυΛλʔϛφϧͰ࣮ߦ (ͨͩ͠ɺ͜ͷίϚϯυ ϓϩδΣΫτͷԼͰ࣮ߦ ͠ͳ͚ΕͳΒͣɺλʔϛ φϧcdίϚϯυͰϓϩδΣ ΫτͷԼʹҠಈ͓ͯ͘͠ ඞཁ͕͋Δß)
·͔͞ ͜Ε͚ͩͰAdhocͷ ςετΛͯ͘͠Ε Δͷ͔ʂʂ
“ͦ͏ເݟ͕ͨʹ ͋Γ·ͨ͠ɻɻ”
೦ ྲྀੴʹ͜Ε͚ͩͰɺAdhocͷςετͰ͖·ͤΜɻ Fastfile࡞ͯ͘͠ΕΔ gymΞΫγϣϯͰipaϑΝΠϧʹͰ ͖ͦ͏ʁcrashlyticΞΫγϣϯͰςετͯ͘͠Εͦ͏ʁ ͦͦϓϩϏδϣχϯάʁʁ CSRͱ͔࡞ͬͯαΠτʹΞοϓϩʔυͯ͠ͳ͍ΜͰ͚͢Ͳɻɻ AdhocͷͨΊͷςετͷొʁ
͜ͷޙͲ͏Δͷʁ Fabricͷfastfileը໘TASKS ͷRelease Your AppͷGet CodeϘλϯΛԡ͢ͱwebα Πτ͕දࣔ͞ΕαϯϓϧΛ ݟΔ͜ͱ͕Ͱ͖Δ αϯϓϧΛࢀߟʹࣗͰؤ ுͬͯॻ͔͘͠ͳ͍ɻɻ
orz..
͔͠ Ұ൪ϋϚΓͦ͏ͳϓϩϏδϣ χϯάͷ࡞ͷαϯϓϧ͕Π ϚΠνΘ͔Γʹ͍͘ʂʂ (matchͷهड़ɺΑ͘୳ͤ ݟ͚ͭΒΕ·ͨ͠)
ʗ(^O^)ʘūƃũŠŕŦ
FabricಋೖͷϝϦοτ ࠓͷͱ͜Ζશແྉ ࠓͷͱ͜Ζѻ͑ΔΞϓϦʹ্ݶͷ੍ݶ͕ଘࡏ͠ͳ͍ iOS͚ͩ͡Όͳ͘Android,Unityαϙʔτ CrashlyticsͰΞϓϦͷΫϥογϡϩά͕ղੳͰ͖Δ fastlaneͷΠϯετʔϧʹؔͯ͠ɺϋϚΓͳ͘Ͱ͖ Δ
Fabricͷෆຬ fastlaneͷFastfileΞγελϯτػೳʹؔͯ͠ظ ͣΕɻ ࠓޙͷαʔϏεܧଓʹෆ͕҆͋Δ ༗ྉԽΞϓϦͷ্ݶ͕Ͱ͖ͨΓɺ͋Δ͍ ͍͖ͳΓαʔϏεऴྃͷՄೳੑ൱ఆͰ͖ͳ͍
݁ fastlaneʹؔͯ͠ɺ͜Ε͔Βಋೖ࢝͠ΊΔਓɺ ΠϯετʔϧʹϋϚͬͯ࠳ંͨ͠ਓʹFabric Φεεϝʂʂ ͢ͰʹfastlaneͷΠϯετʔϧ͏·͍ͬͯ͘ಋ ೖ·Ͱͳ͍ɻͬͱޮΑࣗ͘ಈԽΛ͠ ͍ͨϨϕϧͷਓʹෆཁ
“ೖऀ͔Βதڃऀͷ ϨϕϧΞοϓͷಓݫ ͍͠Ͱ͕͢ɺ͜ͷษڧ ձͰڞʹาΈ·͠ΐ͏”
͝੩ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠