LoginSignup
4
3

More than 5 years have passed since last update.

[iOS] fastlane+Crashlytics Beta を使ってみる

Last updated at Posted at 2016-04-19

やり始める前に...

fastlane自体の導入やFabricの登録はここでは紹介しません。
参考: [iOS] fastlaneの導入

導入

今回使いたいプロジェクトのディレクトリ内に移動する。

fastlaneディレクトリに入る

$ cd fastlane

Fastfileを開く

その中に以下のように記述

Fastfile
desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    # increment_build_number
    # increment_version_number
    # ********は適宜自分のに置き換えてください

    cert
    sigh(force: true)

    gym(
      use_legacy_build_api: true,
      workspace: '********.xcworkspace',
      scheme: "********",
      configuration: 'Release'
    )

    crashlytics(
      crashlytics_path: './Crashlytics.framework',
      api_token: '************************************************',
      build_secret: '************************************************',
      ipa_path: './********.ipa',
      groups: '********'
    )

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end
4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3