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
あるあるLT_domonr_2019-03-19.pdf
Search
domonr
March 19, 2019
0
1.4k
あるあるLT_domonr_2019-03-19.pdf
iOSの2ファクタ認証をCIで突破した話
domonr
March 19, 2019
Tweet
Share
More Decks by domonr
See All by domonr
アプリのリニューアル時にDomainModelを削除した話(設計カンファレンス extends OOC 2024.3.29)
domonr
0
670
(iOS13の)UIBarButtonItem 位置調整あるある
domonr
0
1.1k
あるあるLT~文字列共通化~
domonr
0
590
脱ぼっちレビュー_domonr
domonr
0
370
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.7k
Navigating Team Friction
lara
187
15k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Bash Introduction
62gerente
614
210k
4 Signs Your Business is Dying
shpigford
184
22k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
Building an army of robots
kneath
306
45k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Rails Girls Zürich Keynote
gr2m
94
14k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Transcript
͋Δ͋ΔLT ~iOSͷ2ϑΝΫλೝূ͋Δ͋Δ~ domonr/2019-03-19 1
ͲΜ / domonr and factory גࣜձࣾ iOSΤϯδχΞ Swiftྺ: 2ͪΐͬͱ
2
iOSͷ2ϑΝΫλೝূ͋Δ͋Δ 3
4 https://iseebi.hatenablog.com/entry/2019/02/15/001959
5 https://develop.hateblo.jp/entry/apple-developer-2factor
2݄27͔Β2ϑΝΫλೝূ͕ඞਢʹͳΔͩͱʂ 6
ແࣄࢮ 7
ࠓCIͰ2ϑΝΫλೝূରԠͨ͠Λ͠·͢ 8
2ϑΝΫλೝূʹରԠͨ͠ 9
ฐࣾͷڥ • Travis CI(xcode10.1) • Fastlane(2.116.1)༻ • Xcode version 10.1
10
11
12
TravisCIʹ͕͋ͬͯ2ϑΝΫλೝূʹ ରԠ͍ͯ͠ͳ͍Β͍͠… 13
14
2ϑΝΫλೝূʹରԠͰ͖ͳ͍ͷͰ 2ϑΝΫλೝূΛ͠ͳ͍ͰͳΜͱ͔͢Δ 15
ࠓճͷ2ϑΝΫλೝূඞਢԽ Account Holder ݖݶͷΈ 16
ͳͷͰɺ2ϑΝΫλೝূ͍ͯ͠ͳ͍ΞΧϯτΛ࡞ͯ͠ AdminݖݶͰAppleDeveloperʹΞΧϯτΛՃ͢Εྑ͍ 17
ͬͯTwitterʹॻ͍ͯ͋Γ·ͨ͠ 18 ※֘ͷͭͿ͖୳ͤ·ͤΜͰͨ͠…
19
20
fastlane/Appfile app_identifier “hogehoge.app" apple_id “
[email protected]
" ←͍ͭ͜Λॻ͖͑ΕOK team_id “HOGEHOGE” 21
22
23 ָউͩͥ
·ͱΊ 24
·ͱΊ • TravisCI2ϑΝΫλೝূʹରԠ͍ͯ͠ͳ͍(ͬΆ͍) 25 • ࠓճ2ϑΝΫλೝূඞਢʹͳͬͨͷAccount Holder ݖݶͷΈ • 2ϑΝΫλೝূΛઃఆ͍ͯ͠ͳ͍AppleΞΧϯτΛAdmin
ݖݶͰՃ͢Εࠓ·Ͱͱಉ͡Α͏ʹ͑Δ
Apple͞Μͷํ͕͜ΕҎ্มΘΒͳ͍ͱ͍͍Ͷ 26
͓ΘΓ 27