Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
10
Help us understand the problem. What is going on with this article?
@koogawa

CircleCI + fastlane で Firebase App Distribution に ipa をアップロードする

More than 1 year has passed since last update.

Firebase App Distribution とは

公開前のAndroid/iOSアプリを配布できるサービスです。
https://firebase.google.com/products/app-distribution?hl=ja

config.yml

CircleCI 上で firebase CLI を使用するため、firebase-tools をインストールしましょう。

  fad:
    steps:
      ...
      (いろいろ設定)
      ...
      - run:
          name: Install Firebase Tools
          command: npm install firebase-tools
      - run:
          name: Deploy IPA file to Firebase App Distribution
          command: |
            bundle exec fastlane ios fad

Fastfile

Fastlane に firebase_app_distribution という action が用意されているのでそれを使います。

Distribute iOS apps to testers using fastlane  |  Firebase

  desc "Push a new develop build to Firebase App Distribution"
  lane :fad do
    ...
    (ここでipaを作る)
    ...
    firebase_app_distribution(
      app: "1:123456789:ios:abcd1234",
      testers: "tester1@company.com, tester2@company.com",
      release_notes: "Lots of amazing new features to test out!",
      firebase_cli_path: "./node_modules/.bin/firebase"
    )
  end

これで継続的に Firebase App Distribution に ipa をアップロードできるようになりました!

リンク

10
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
koogawa
ドラムも叩けるプログラマです。iPhoneアプリ、Androidアプリ、mixiアプリを仕事/趣味で作ってます。主な作品 → http://bit.ly/koogawa
alu-inc
アルは、マンガファンがもっとマンガを楽しめるサービスを作るために立ち上げられた、テクノロジー企業です。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
10
Help us understand the problem. What is going on with this article?