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
Xcode 8のCI事情/xcode-8-ci-with-fastlane
Search
Fumiya Nakamura
September 28, 2016
Programming
1
1.6k
Xcode 8のCI事情/xcode-8-ci-with-fastlane
potatotips #33
- OS X CIの最新Xcodeへの対応の早さの違いなどCI毎の差異
- Fastlane利用時のTips
Fumiya Nakamura
September 28, 2016
Tweet
Share
More Decks by Fumiya Nakamura
See All by Fumiya Nakamura
Encouragement of Firebase
nafu
1
3.5k
Player! Meetup#1 - Player! Overviews/player-meetup-1-player-overviews
nafu
1
510
三位一体GitHub駆動開発/github-driven-development
nafu
0
3.4k
How we develop working software and respond to change at ookami.
nafu
0
88
Fastlane for Androidによる継続的デリバリー/continuous-delivery-with-fastlane-for-android
nafu
0
290
Other Decks in Programming
See All in Programming
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
3
380
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
370
AI POSにおけるLLM Observability基盤の導入 ― サイバーエージェントDXインターン成果報告
hekuchan
0
470
業務でAIを使いたい話
hnw
0
260
Atomics APIを知る / Understanding Atomics API
ssssota
1
100
ネストしたdata classの面倒な更新にさようなら!Lensを作って理解するArrowのOpticsの世界
shiita0903
1
300
Amazon Bedrock Knowledge Bases Hands-on
konny0311
0
140
アーキテクチャと考える迷子にならない開発者テスト
irof
5
1.2k
Flutterアプリ運用の現場で役立った監視Tips 5選
ostk0069
1
340
CloudflareのSandbox SDKを試してみた
syumai
0
130
Functional Calisthenics in Kotlin: Kotlinで「関数型エクササイズ」を実践しよう
lagenorhynque
0
110
組織もソフトウェアも難しく考えない、もっとシンプルな考え方で設計する #phpconfuk
o0h
PRO
10
4k
Featured
See All Featured
How GitHub (no longer) Works
holman
315
140k
Designing Experiences People Love
moore
142
24k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Speed Design
sergeychernyshev
32
1.2k
Automating Front-end Workflow
addyosmani
1371
200k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Transcript
Xcode 8ͷCIࣄ גࣜձࣾookami! @nafu003 2016/09/28 potatotips #33
ookami !!!?
εϙʔπΛ௨ͯ͠ ਓʑͷੜ׆Λ๛͔ʹ
None
Xcode 8ͷCIࣄ
Goal ֤Ϣʔεέʔεʹ߹ͬͨCIΛબͰ͖Δ Xcode 8ͰͷϏϧυࣗಈԽΛ؆୯ʹ͢Δ
࠷৽Beta͕Beta 6ͷ࣌ CIରԠঢ়گ
Travis CI Beta 6
Bitrise Beta 6
Cicle CI Beta 3
Beta 3 ( 'ω') ;͊ͬʂʁ
Xcode 8 GMϦϦʔε࣌ - Travis CI -> GM - Bitrise
-> GM - Circle CI -> Beta 6
Circle CI ࠷৽XcodeͷରԠ 1ʙ2िؒΕ
Compare CI Plans
CI্ͰͷXcode 8Ϗϧυ
CI্ͰͷXcode 8Ϗϧυ with fastlane
Xcode 8 - Swift 2.3 - Swift 3.0 Xcode 8
has multiple toolchains
Fastlane didn't have toolchain option !
fastlane/fastlane#5864
toolchain option gym(toolchain: 'com.apple.dt.toolchain.Swift_2_3') gym(toolchain: :Swift_2_3) # Next Version use_legacy_build_api
option gym(use_legacy_build_api: true) # Use old API gym(use_legacy_build_api: false) # Use new API after Xcode 7
Do not use Automatic Signing https://docs.fastlane.tools Although Apple recommends it
in WWDC 2016
register_devices fastlane run register_devices devices_file:$DEVICES_FILE_PATH fastlane match --app_identifier "$BUNDLE_IDENTIFIER" \
--type "adhoc" --force_for_new_devices multiple-device-upload-ios.txt Device ID Device Name A123456789012345678901234567890123456789 NAME1 B123456789012345678901234567890123456789 NAME2
Fastlane Plugins # List all available plugins using fastlane search_plugins
# Add a plugin to your project fastlane add_plugin [name] # Create your own plugin fastlane new_plugin [plugin_name] docs.fastlane.tools/plugins
ensure_xcode_build_version nafu/fastlane-plugin-ensure_xcode_build_version
Fastlane docs docs.fastlane.tools
Summary → Circle CIXcodeʹଈରԠͯ͘͠Εͳ͍ͷͰҙ → ಛʹSwift 2.3ʹؔͯ͠Xcode 8ͰͷϏϧυʹҙ → toolchain,
use_legacy_build_apiͳͲ → Automatic SigningΘͳ͍ → ศརͳActionpluginsͰެ։͠Α͏ʂ
None