iGatiTech desires to attract extra consideration to this query.
I’ve tried many options given on Stackoverflow in addition to on github. Nevertheless, none of them are working. So I’m making an attempt to supply extra particulars on the difficulty I’m dealing with.
Utilizing XCode: 15.3
Improve firebase SDKs from 7.8.0 to 10.24.0,
Nevertheless after this improve, my app is crashing for Take a look at Instances and the error says,
“The default FirebaseApp occasion should be configured earlier than the
default Distant Config occasion might be initialized. A method to make sure
that is to name FirebaseApp.configure() within the App Delegate’s
software(_:didFinishLaunchingWithOptions:) or the @principal
struct’s initializer in SwiftUI.”
Though the Firebase initialisation is already there within the AppDelegate,
func software(_ software: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
FirebaseApp.configure()
}
I’ve tried some options given on this hyperlink:
The default FirebaseApp occasion should be configured earlier than the defaultFirebaseApp occasion might be initialized
Particularly this one: https://stackoverflow.com/a/61352175/3825016
Tried defining Firebase as a static library within the Podfile,
pod ‘Firebase/Core’, ‘10.24.0’ do
use_frameworks! :linkage => :static
finish
pod ‘Firebase/RemoteConfig’, ‘10.24.0’ do
use_frameworks! :linkage => :static
finish
pod ‘FirebaseInAppMessaging’, ‘10.24.0-beta’ do
use_frameworks! :linkage => :static
finish
pod ‘Firebase/Crashlytics’, ‘10.24.0’ do
use_frameworks! :linkage => :static
finish
pod ‘FirebaseMessaging’, ‘10.24.0’ do
use_frameworks! :linkage => :static
finish
Nonetheless getting the identical crash whereas working the check instances in my undertaking.
I even discovered this dialogue thread on Github: https://github.com/firebase/firebase-ios-sdk/points/11521
Situation appears comparable, however no answer given.
Any assistance is appreciated! Thanks.