エラ〜:reason: ‘[FIRApp configure]; (FirebaseApp.configure() in Swift) could not find a valid GoogleService-Info.plist in your project. が出る時
GoogleService-Info.plistを入れているのに、以下のエラーが出る。
reason: ‘[FIRApp configure]; (FirebaseApp.configure() in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.’
理由: ‘[FIRApp設定]; (SwiftのFirebaseApp.configure())は、プロジェクトで有効なGoogleService-Info.plistを見つけることができませんでした。 https://console.firebase.google.com/からダウンロードしてください。」
原因
ファイル名の後に(1)とか入っているとエラーになる。
今回は、半角スペースを消し忘れたためエラーが出ていた。
数字と半角スペースを消せば解決した。