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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Fumiya Nakamura
September 28, 2016
Programming
1.7k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Xcode 8のCI事情/xcode-8-ci-with-fastlane
potatotips #33
- OS X CIの最新Xcodeへの対応の早さの違いなどCI毎の差異
- Fastlane利用時のTips
Fumiya Nakamura
September 28, 2016
More Decks by Fumiya Nakamura
See All by Fumiya Nakamura
Encouragement of Firebase
nafu
1
3.6k
Player! Meetup#1 - Player! Overviews/player-meetup-1-player-overviews
nafu
1
520
三位一体GitHub駆動開発/github-driven-development
nafu
0
3.5k
How we develop working software and respond to change at ookami.
nafu
0
96
Fastlane for Androidによる継続的デリバリー/continuous-delivery-with-fastlane-for-android
nafu
0
320
Other Decks in Programming
See All in Programming
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
380
AIとRubyの静的型付け
ukin0k0
0
560
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
130
3Dシーンの圧縮
fadis
1
680
Modding RubyKaigi for Myself
yui_knk
0
910
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
1.9k
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
100
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
480
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
690
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
780
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
210
JavaDoc 再入門
nagise
0
310
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.2k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
390
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
Building an army of robots
kneath
306
46k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
RailsConf 2023
tenderlove
30
1.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
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