6
3

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 5 years have passed since last update.

Firebaseコンソールに「dSYMが不足しています」のメッセージが出たときの対処法

6
Last updated at Posted at 2021-02-21

対処法

Firebaseコンソールの案内通りdSYMファイルを上げればOK。
path/to/ってなに?ってなって若干詰まったので記事に残しておきます。

dSYMファイルの場所

Xcodeのwindow → organizer
→ 該当のアーカイブを右クリック → show in Finderを選択
→ Finder上でxcarchiveを右クリック → パッケージの内容を表示を選択
→ dSYMsディレクトリがあるので右クリックからパスをコピーしておく

アップロード方法

公式の記載だとpath/to/となってますが〜までのパスを指定してくださいの意味。
つまり↓みたいなこと
絶対パス/FirebaseCrashlytics/upload-symbols -gsp 絶対パス/GoogleService-Info.plist -p ios 絶対パス/dSYMs

例えばホームディレクトリのiOS配下にあるSample-iOSのdSYMをアップロードする場合以下のようになる。

// アプリの`Pods/FirebaseCrashlytics`内に移動してコマンドを実行
$ ~/iOS/Sample-iOS/FirebaseCrashlytics/upload-symbols -gsp ~/iOS/Sample-iOS/GoogleService-Info.plist -p ios dSYMファイルの場所でわかったパス/Sample-iOS.app.dSYMs

// 実行結果
Fetching upload-symbols settings...
Successfully submitted symbols for architecture arm64 with UUID 指定のUUID in dSYM: /指定パス/dSYMs/Sample-iOS.app.dSYM
Successfully uploaded Crashlytics symbols

アップロード成功後

ターミナルにSuccessfully uploaded Crashlytics symbolsが表示されてもしばらく待たないとコンソールに反映されないケースもあるそうです。
参考: 【Crashlytics upload dSYM successfully, But firebase console of Crashlytics still show dSYM required #5327 | Github firebase/firebase-ios-sdk】
その場合はしばらく待って、それでもだめならサポートに連絡しましょう。

6
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
6
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?