Skip to content

Unity [FirebaseCore][I-COR000003] The default Firebase app has not yet been configured.  #1364

Open
@BettaGames

Description

@BettaGames

[READ] For Firebase Unity SDK issues, please report to Firebase Unity open-source

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2022.3.14f1___
  • Firebase Unity SDK version: 11.4.0_
  • Source you installed the SDK: _unitypackage (.unitypackage or Unity Package Manager)
  • Problematic Firebase Component: _crashlytics (Auth, Database, etc.)
  • Other Firebase Components in use: _crashlytics (Auth, Database, etc.)
  • Additional SDKs you are using: Facebook、Admob、applovin_ (Facebook, AdMob, etc.)
  • Platform you are using the Unity editor on: Mac_ (Mac, Windows, or Linux)
  • Platform you are targeting: _iOS (iOS, Android, and/or desktop)
  • Scripting Runtime: IL2CPP_ (Mono, and/or IL2CPP)

[REQUIRED] Please describe the issue here:

When the app is started, a Firebase exception is prompted, causing the crash to fail to be reported. How to solve this problem?

Steps to reproduce:

It will appear when activated

Relevant Code:

Podfile:

source 'https://cdn.cocoapods.org/'
source 'https://github.com/CocoaPods/Specs'

platform :ios, '12.0'

target 'UnityFramework' do

  pod 'AppLovinMediationGoogleAdapter', '10.14.0.1'
  pod 'AppLovinMediationGoogleAdManagerAdapter', '10.14.0.0'
  pod 'AppLovinMediationMintegralAdapter', '7.5.3.0.0'
  pod 'AppLovinMediationUnityAdsAdapter', '4.9.2.1'
  pod 'AppLovinSDK', '12.1.0'
  pod 'AppsFlyerFramework', '6.12.2'
  pod 'FBSDKCoreKit', '~> 16.1.0'
  pod 'FBSDKCoreKit_Basics', '~> 16.1.0'
  pod 'FBSDKGamingServicesKit', '~> 16.1.0'
  pod 'FBSDKLoginKit', '~> 16.1.0'
  pod 'FBSDKShareKit', '~> 16.1.0'
  pod 'Firebase/Analytics', '10.15.0'
  pod 'Firebase/Core', '10.15.0'
  pod 'Firebase/Crashlytics', '10.15.0'
  pod 'Google-Mobile-Ads-SDK', '~> 10.13'
  pod 'MMKV', '1.3.2'
end
target 'Unity-iPhone' do
  pod 'AppLovinMediationFacebookAdapter', '6.14.0.1'
end

use_modular_headers!

日志:

objc[1969]: Class FIRApp is implemented in both /private/var/containers/Bundle/Application/D83230B9-3518-4239-8FDA-D2037C5796EB/Crossroads of Love.app/Crossroads of Love (0x1039a15a8) and /private/var/containers/Bundle/Application/D83230B9-3518-4239-8FDA-D2037C5796EB/Crossroads of Love.app/Frameworks/UnityFramework.framework/UnityFramework (0x119c6ea28). One of the two will be used. Which one is undefined.
[ThinkingData] Debug: Cannot set dynamic super properties due to invalid properties.
AppsFlyer Debug: handle deep link
DEBUG: Disabling all app initializers
DEBUG: Disable analytics
DEBUG: analytics app initializer Enabling
DEBUG: App initializer app_check not found, failed to enable.
DEBUG: App initializer auth not found, failed to enable.
DEBUG: App initializer crashlytics not found, failed to enable.
DEBUG: App initializer database not found, failed to enable.
DEBUG: App initializer dynamic_links not found, failed to enable.
DEBUG: App initializer functions not found, failed to enable.
DEBUG: App initializer installations not found, failed to enable.
DEBUG: App initializer invites not found, failed to enable.
DEBUG: App initializer messaging not found, failed to enable.
DEBUG: App initializer performance not found, failed to enable.
DEBUG: App initializer remote_config not found, failed to enable.
DEBUG: App initializer storage not found, failed to enable.
DEBUG: App initializer test_lab not found, failed to enable.
DEBUG: Creating Firebase App __FIRAPP_DEFAULT for Firebase C++ 11.6.0
DEBUG: Disabling all app initializers
DEBUG: Disable analytics

10.15.0 - [FirebaseCore][I-COR000005] No app has been configured yet.
10.15.0 - <AppMeasurement>[I-ACS036000] Found unknown associated object: APMScreen
10.15.0 - [FirebaseCore][I-COR000005] No app has been configured yet.
10.15.0 - [FirebaseCore][I-COR000005] No app has been configured yet.
10.15.0 - [FirebaseCore][I-COR000003] The default Firebase app has not yet been configured. Add `FirebaseApp.configure()` to your application initialization. This can be done in in the App Delegate's application(_:didFinishLaunchingWithOptions:)` (or the `@main` struct's initializer in SwiftUI). Read more: https://goo.gl/ctyzm8.
10.15.0 - [FirebaseCore][I-COR000005] No app has been configured yet.
10.15.0 - [FirebaseCore][I-COR000003] The default Firebase app has not yet been configured. Add `FirebaseApp.configure()` to your application initialization. This can be done in in the App Delegate's application(_:didFinishLaunchingWithOptions:)` (or the `@main` struct's initializer in SwiftUI). Read more: https://goo.gl/ctyzm8.
10.15.0 - [FirebaseAnalytics][I-ACS025028] AdMob and Firebase are in use in this app, but are not linked. For analytics data consistency and integrity, it is highly recommended that you link your AdMob app to the corresponding Firebase app and re-download the GoogleServices-Info.plist file. See https://support.google.com/admob/answer/6383165 for more information.
10.15.0 - [FirebaseAnalytics][I-ACS023007] Analytics v.10.15.0 started
10.15.0 - [FirebaseAnalytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
10.15.0 - [FirebaseAnalytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
10.15.0 - [FirebaseAnalytics][I-ACS023012] Analytics collection enabled
10.15.0 - [FirebaseAnalytics][I-ACS023220] Analytics screen reporting is enabled. Call Analytics.logEvent(AnalyticsEventScreenView, parameters: [...]) to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist

Metadata

Metadata

Assignees

No one assigned

    Labels

    newNew issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions