1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Firebaseのプロジェクトを本番用と開発用に分ける方法

Posted at

概要

Crashlyticsのデータを本番用と開発用に分ける場合の手順をまとめる。

Firebaseコンソール上で、本番用(Product)と開発用(Staging)のプロジェクトを作成する

https://console.firebase.google.com/
Screen Shot 2022-03-18 at 18.01.03.png

GoogleService-Info.plistをダウンロードする

プロジェクトの設定 > 全般
本番用(Product)と開発用(Staging)のプロジェクトから、それぞれ、GoogleService-Info.plist をダウンロードする

ダウンロードした GoogleService-Info.plist をXcodeのプロジェクトへ設置する

以下のような構成にしてみた。
Screen Shot 2022-03-18 at 17.57.48.png

Xcode TARGETSを本番用(Product)と開発用(Staging)に分ける

GoogleService-Info.plistの設定をする
TARGETS > 本番用 > Build Phrases > Copy Bundle Resources > 「+」
本番用のGoogleService-Info.plist を追加する (開発用(Staging)も同様に設定する)
Screen Shot 2022-03-18 at 18.32.30.png

これで、Firebase Crashlyticsのデータを本番用(Product)と開発用(Staging)のプロジェクトでそれぞれ確認することができる。

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?