iMessage拡張機能を持つiOSアプリケーションでFirebaseを使用しようとしています。 GoogleService-Info.plist
ファイルが含まれており、ホストアプリケーションでFirebaseを正しく使用できます。iMessage拡張機能でFirebaseを使用するとクラッシュする
override func willBecomeActive(with conversation: MSConversation) {
super.willBecomeActive(with: conversation)
if(FIRApp.defaultApp() == nil){
FIRApp.configure()
}
}
アプリがクラッシュ実行時に私が使用して何をする必要がありますどのような次のエラー
Could not locate configuration file: 'GoogleService-Info.plist'.
*** Terminating app due to uncaught exception 'com.firebase.core', reason:
'[FIRApp configure] could not find a valid GoogleServices-Info.plist in your project.
Please download one from https://console.firebase.google.com/.'
と:私は私のIMessageがアプリの拡張に次のコードを含めるただし
、 iMessageアプリの拡張機能のFirebase?
エラーが発生する可能性があります。「GoogleService-Info.plist」が含まれていることを確認してください。 – Dravidian
あなたはそうです、私は拡張ターゲットに追加しませんでした!ありがとう – Nilsymbol