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
9.3k
2
Share
5分で分かるBitrise基本設定 & 3分で分かるfbsimctl
Shinagawa.swift #2で発表した内容です
https://mokumoku-ios-at-next.connpass.com/event/48178/
fromkk
January 27, 2017
More Decks by fromkk
See All by fromkk
note社の全員野球で品質向上活動について / note_qa_challenge #iOS_test_teatime
fromkk
3
2k
1年分のデータが見たいと言われてやったこと/yearly_data_with_note
fromkk
0
1k
note iOSチームの自動化 ver.2021/automation_with_iOS_team_on_note_ver2021
fromkk
0
2.1k
Bitrise体験会説明資料/bitrise_explore
fromkk
1
1.2k
noteのiOSアプリで実装したアクセシビリティの全て #iosdc #a /a11y_with_iOS_App_on_note
fromkk
2
4.9k
dSYMのアップロードで SPMを活用する/use_spm_with_upload_dsyms
fromkk
1
3.2k
Bitriseのリモートアクセス機能 #bitrise_meetup/remote_access_of_bitrise
fromkk
1
670
note社でのMagic Pod活用事例 #af_iosdc/magicpod_with_note
fromkk
2
12k
iOSには無いmacOS独自機能をCatalystで実装する #iosdc #d/make_macos_apps_with_catalyst
fromkk
9
2.2k
Other Decks in Programming
See All in Programming
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
450
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
480
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
180
How We Practice Exploratory Testing in Iterative Development( #scrumniigata ) / 反復開発の中で、探索的テストをどう実施しているか
teyamagu
PRO
3
700
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.6k
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
GitHubCopilotCLIをはじめよう.pdf
htkym
0
320
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
170
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
2
290
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
4
3.7k
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
180
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
Designing for Timeless Needs
cassininazir
0
220
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Fireside Chat
paigeccino
42
3.9k
A better future with KSS
kneath
240
18k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.9k
Site-Speed That Sticks
csswizardry
13
1.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
200
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
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