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.4k
Player! Meetup#1 - Player! Overviews/player-meetup-1-player-overviews
nafu
1
480
三位一体GitHub駆動開発/github-driven-development
nafu
0
3.3k
How we develop working software and respond to change at ookami.
nafu
0
83
Fastlane for Androidによる継続的デリバリー/continuous-delivery-with-fastlane-for-android
nafu
0
270
Other Decks in Programming
See All in Programming
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.6k
Unity Android XR入門
sakutama_11
0
140
昭和の職場からアジャイルの世界へ
kumagoro95
1
350
個人アプリを2年ぶりにアプデしたから褒めて / I just updated my personal app, praise me!
lovee
0
340
Ruby on cygwin 2025-02
fd0
0
140
DROBEの生成AI活用事例 with AWS
ippey
0
130
CI改善もDatadogとともに
taumu
0
110
Rails アプリ地図考 Flush Cut
makicamel
1
110
GAEログのコスト削減
mot_techtalk
0
110
『品質』という言葉が嫌いな理由
korimu
0
160
法律の脱レガシーに学ぶフロントエンド刷新
oguemon
5
730
SwiftUI Viewの責務分離
elmetal
PRO
0
150
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
630
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
540
BBQ
matthewcrist
86
9.5k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
Automating Front-end Workflow
addyosmani
1367
200k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Making Projects Easy
brettharned
116
6k
GraphQLとの向き合い方2022年版
quramy
44
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
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