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.3k
Player! Meetup#1 - Player! Overviews/player-meetup-1-player-overviews
nafu
1
470
三位一体GitHub駆動開発/github-driven-development
nafu
0
3.3k
How we develop working software and respond to change at ookami.
nafu
0
81
Fastlane for Androidによる継続的デリバリー/continuous-delivery-with-fastlane-for-android
nafu
0
260
Other Decks in Programming
See All in Programming
最新TCAキャッチアップ
0si43
0
190
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
TypeScriptでライブラリとの依存を限定的にする方法
tutinoko
3
690
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
970
Macとオーディオ再生 2024/11/02
yusukeito
0
370
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
230
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
480
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
31
6.3k
Facilitating Awesome Meetings
lara
50
6.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Embracing the Ebb and Flow
colly
84
4.5k
How GitHub (no longer) Works
holman
310
140k
Adopting Sorbet at Scale
ufuk
73
9.1k
GraphQLとの向き合い方2022年版
quramy
43
13k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
4 Signs Your Business is Dying
shpigford
180
21k
A Philosophy of Restraint
colly
203
16k
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