Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Xcode 8のCI事情/xcode-8-ci-with-fastlane

Fumiya Nakamura
September 28, 2016

Xcode 8のCI事情/xcode-8-ci-with-fastlane

potatotips #33

- OS X CIの最新Xcodeへの対応の早さの違いなどCI毎の差異
- Fastlane利用時のTips

Fumiya Nakamura

September 28, 2016
Tweet

More Decks by Fumiya Nakamura

Other Decks in Programming

Transcript

  1. Xcode 8 - Swift 2.3 - Swift 3.0 Xcode 8

    has multiple toolchains
  2. 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
  3. 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
  4. 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
  5. Summary → Circle CI͸Xcodeʹଈ೔ରԠͯ͘͠Εͳ͍ͷͰ஫ҙ → ಛʹSwift 2.3ʹؔͯ͠͸Xcode 8ͰͷϏϧυʹ஫ҙ → toolchain,

    use_legacy_build_apiͳͲ → Automatic Signing͸࢖Θͳ͍ → ศརͳAction͸pluginsͰެ։͠Α͏ʂ