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
5分で分かるBitrise基本設定 & 3分で分かるfbsimctl
Search
fromkk
January 27, 2017
Programming
2
9.2k
5分で分かるBitrise基本設定 & 3分で分かるfbsimctl
Shinagawa.swift #2で発表した内容です
https://mokumoku-ios-at-next.connpass.com/event/48178/
fromkk
January 27, 2017
Tweet
Share
More Decks by fromkk
See All by fromkk
note社の全員野球で品質向上活動について / note_qa_challenge #iOS_test_teatime
fromkk
3
1.8k
1年分のデータが見たいと言われてやったこと/yearly_data_with_note
fromkk
0
900
note iOSチームの自動化 ver.2021/automation_with_iOS_team_on_note_ver2021
fromkk
0
1.9k
Bitrise体験会説明資料/bitrise_explore
fromkk
1
1k
noteのiOSアプリで実装したアクセシビリティの全て #iosdc #a /a11y_with_iOS_App_on_note
fromkk
2
3.4k
dSYMのアップロードで SPMを活用する/use_spm_with_upload_dsyms
fromkk
1
2.7k
Bitriseのリモートアクセス機能 #bitrise_meetup/remote_access_of_bitrise
fromkk
1
530
note社でのMagic Pod活用事例 #af_iosdc/magicpod_with_note
fromkk
2
10k
iOSには無いmacOS独自機能をCatalystで実装する #iosdc #d/make_macos_apps_with_catalyst
fromkk
9
2k
Other Decks in Programming
See All in Programming
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1k
Haze - Real time background blurring
chrisbanes
1
520
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
130
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
3
500
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
460
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
240
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
850
Go の GC の不得意な部分を克服したい
taiyow
3
850
선언형 UI에서의 상태관리
l2hyunwoo
0
200
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
MCP with Cloudflare Workers
yusukebe
2
230
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
210
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1366
200k
4 Signs Your Business is Dying
shpigford
182
21k
Producing Creativity
orderedlist
PRO
342
39k
Faster Mobile Websites
deanohume
305
30k
Speed Design
sergeychernyshev
25
680
Raft: Consensus for Rubyists
vanstee
137
6.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
Testing 201, or: Great Expectations
jmmastey
41
7.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Gamification - CAS2011
davidbonilla
80
5.1k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Transcript
5Ͱ͔ΔBitriseجຊઃఆ Shinagawa.Swift #2 (C) fromkk. 2017 1
Profile Kazuya Ueoka Timers inc.ͷiOSΤϯδχΞ Twitter: @fromkk Github: fromkk Qiita:
fromkk (C) fromkk. 2017 2
Bitriseͱʁ • iOS/Android/XamarinରԠͷCIπʔϧ • Github/Bitbucket/GitLab/etcʹରԠ • GUI • OpenSource (C)
fromkk. 2017 3
ஈ 2िؒແྉͷମݧϓϥϯ༗Γʂ ※ಉ࣌Ϗϧυͷ૿ݮʹΑͬͯஈ͕૿ݮ͢Δ (C) fromkk. 2017 4
Կ͕ग़དྷΔͷʁ ʢࠓཧղ͍ͯ͠Δࣄʣ • GitHubͷϓογϡΛτϦΨʔʹͯ͠ΞϓϦͷϏϧυ͕ग़དྷΔ • σϑΥϧτͰUnitςετ͕࣮ߦ͞ΕΔ • CarthageCocoaPodsʹରԠ͍ͯ͠Δ • ΞʔΧΠϒͷ࡞iTunes
ConnectDeploy GateͷΞοϓϩʔυ·Ͱͬͯ͘ΕΔ • Slackͷ௨ʹରԠ͍ͯ͠Δ • ෳͷϫʔΫϑϩʔΛ࡞ͯ͠༻్ʹΑ͍͚͕ͬͯग़དྷΔ (C) fromkk. 2017 5
ࣄલ४උ Ϗϧυ͢ΔΞϓϦͷεΩʔϜ shared ʹ͓ͯ͘͠ඞཁ͕͋Γ·͢ (C) fromkk. 2017 6
CocoaPods/Carthageͷίʔυ CocoaPods/CarthageͷWorkflow͕͋ΔͷͰ .gitignore Ͱ ແࢹͯ͠ϏϧυՄೳͰ͕͢Ϗϧυ͕࣌ؒ͘ͳΔͷͰϦϙδτ ϦʹೖΕ͓ͯ͘ࣄΛ͓קΊ͠·͢ (C) fromkk. 2017 7
ΞϓϦͷՃ͔ΒϏϧυͯ͠Slackʹ ௨͢Δ·Ͱ (C) fromkk. 2017 8
ΞϓϦͷՃ (C) fromkk. 2017 9
GitϦϙδτϦͷબ (C) fromkk. 2017 10
ϦϙδτϦͷΞΫηεݖͷઃఆ ※ՃͷϓϥΠϕʔτϦϙδτϦ͕͋Δ߹ઃఆ͢Δ (C) fromkk. 2017 11
ϒϥϯνͷબ (C) fromkk. 2017 12
όϦσʔγϣϯ (C) fromkk. 2017 13
όϦσʔγϣϯ݁Ռ (C) fromkk. 2017 14
Webhookͷࣗಈઃఆ (C) fromkk. 2017 15
Webhook݁Ռ (C) fromkk. 2017 16
ॳظઃఆྃ (C) fromkk. 2017 17
Ϗϧυ։࢝ (C) fromkk. 2017 18
Ϗϧυޭ! (C) fromkk. 2017 19
σϓϩΠઃఆ (C) fromkk. 2017 20
ϓϩϏδϣχϯάϑΝΠϧͷొ (C) fromkk. 2017 21
ূ໌ॻϑΝΠϧͷొͱ࠶Ϗϧυ (C) fromkk. 2017 22
2ͷϏϧυ݁Ռ (C) fromkk. 2017 23
Slackʹ௨ͯ͠ΈΔ Pt.1 (C) fromkk. 2017 24
Slackʹ௨ͯ͠ΈΔ Pt.2 (C) fromkk. 2017 25
Webhook URLΛઃఆ (C) fromkk. 2017 26
URLΛSlackʹ௨ ex) $BITRISE_APP_TITLE Build successed! Install URL: $BITRISE_PUBLIC_INSTALL_PAGE_URL (C) fromkk.
2017 27
ઃఆΛอଘ (C) fromkk. 2017 28
࠶Ϗϧυͯ͠ΈΔ (C) fromkk. 2017 29
ϦϏϧυ (C) fromkk. 2017 30
௨͕དྷ·ͨ͠! (C) fromkk. 2017 31
·ͱΊ • ࠷ݶͷઃఆͰςετɾϏϧυɾΞʔΧΠϒɾSlackͷ௨ ͕ग़དྷ·ͨ͠! • 2िؒͷແྉظ͕ؒ͋ΔͷͰ৭ʑࢼͯ͠ΈͯଞͷCIαʔϏεͱ ൺΔͷ͕͓קΊ • ࣗಈԽग़དྷΔࣄͤͯਓਓ͕Δ͖ࣄʹूதͯ͠։ൃޮ Λ্͍͖͛ͯ·͠ΐ͏ʂ
(C) fromkk. 2017 32
One More Thing... (C) fromkk. 2017 33
3Ͱ͔Δfbsimctl Shinagawa.Swift #2 (C) fromkk. 2017 34
Profile Kazuya Ueoka Timers inc.ͷiOSΤϯδχΞ Twitter: @fromkk Github: fromkk Qiita:
fromkk (C) fromkk. 2017 35
͜Μͳ͜ͱແ͍Ͱ͔͢ʁ (C) fromkk. 2017 36
࠷ߴͷϥϕϧ͕ग़དྷͨʂ (C) fromkk. 2017 37
(C) fromkk. 2017 38
ͲΕͲΕɺɺଞͷαΠζ ͰͲ͏͔ͳʁ (C) fromkk. 2017 39
(C) fromkk. 2017 40
orz (C) fromkk. 2017 41
ͦΜͳ࣌fbsimctl (C) fromkk. 2017 42
fbsimctlͱʁ • Facebook͕࡞ͬͨiOSͷγϛϡϨʔλʔΛෳىಈग़དྷΔπʔ ϧ • Xcode͔Βىಈ͢Δࣄग़དྷͳ͍ʢίϚϯυϥΠϯͷΈʣ (C) fromkk. 2017 43
Πϯετʔϧ # Get the Facebook Tap. brew tap facebook/fb #
Install fbsimctl from master brew install fbsimctl --HEAD Ҿ༻ (C) fromkk. 2017 44
͍ํ (C) fromkk. 2017 45
γϛϡϨʔλʔҰཡͷදࣔ fbsimctl list CB140D9C-247B-4560-95BF-3F397B88E3ED | iPhone SE | Shutdown |
iPhone SE | iOS 10.2 803231C3-3D89-4A8B-BE99-17A56D6445AE | iPhone 7 Plus | Shutdown | iPhone 7 Plus | iOS 10.2 5626DFB2-043C-48FC-9E31-DB35D74BB611 | iPhone 7 | Booted | iPhone 7 | iOS 10.2 8008F0BE-1F68-4A7D-AD4E-E347B3397399 | iPhone 6s Plus | Shutdown | iPhone 6s Plus | iOS 10.2 964068BA-E93C-4870-B9DA-752E86C003B4 | iPhone 6s | Shutdown | iPhone 6s | iOS 10.2 4710EC3A-7B6E-48E3-8112-DEAC31EFEAD2 | iPhone 6 Plus | Shutdown | iPhone 6 Plus | iOS 10.2 064FD038-2B7A-4448-A4D4-941E59BDF750 | iPhone 6 | Shutdown | iPhone 6 | iOS 10.2 255520C0-7FDF-4B34-9FA6-B97873C88846 | iPhone 5s | Shutdown | iPhone 5s | iOS 10.2 . . . (C) fromkk. 2017 46
γϛϡϨʔλʔͷىಈ γϛϡϨʔλʔIDΛ֯εϖʔεͰܨ͛ͯ boot ίϚϯυΛ࣮ߦ ͢Δ fbsimctl CB140D9C-247B-4560-95BF-3F397B88E3ED 803231C3-3D89-4A8B-BE99-17A56D6445AE 5626DFB2-043C-48FC-9E31-DB35D74BB611 boot
(C) fromkk. 2017 47
ΞϓϦͷΠϯετʔϧ fbsimctl install ~/Library/Developer/Xcode/DerivedData/YourAppDir/Build/Products/Debug-iphonesimulator/YourApp.app (C) fromkk. 2017 48
ΞϓϦͷىಈ fbsimctl launch com.yourdomain.YourBundleIdentifier (C) fromkk. 2017 49
݁Ռ (C) fromkk. 2017 50
! (C) fromkk. 2017 51
ͱ͜Ζ͕ ※·ͩͬͯͳ͍ͷͰࠓޙͬͯΈͯfbsimctlͱൺͯΈ͍ͨ (C) fromkk. 2017 52
·ͱΊ • Size Classesͷ֬ೝϥϕϧͷෳߦରԠͷ֬ೝʹ͍ͯ Δ • ෳͷΛ༻ҙ͢Δͷ͕໘ͳ߹ʹͬ͘͞ͱ֬ೝग़དྷͯྑ ͍ • ෳͷγϛϡϨʔλʔΛಉ࣌ʹىಈ͢ΔͱԿͱͳָ͍͘͠
(C) fromkk. 2017 53
͝ਗ਼ௌ༗͏͍͟͝·ͨ͠ʂ (C) fromkk. 2017 54