firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

FirebaseApp.configure(): Performing I/O on the main thread can cause hangs.

Open nosferatu500 opened this issue 8 months ago • 5 comments

Description

Hello!

I got this warning from Xcode today

FirebaseApp.configure(): Performing I/O on the main thread can cause hangs.

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
        
        FirebaseApp.configure()
        
        Messaging.messaging().delegate = self

Reproducing the issue

No response

Firebase SDK Version

11.10.0

Xcode Version

16.2

Installation Method

Swift Package Manager

Firebase Product(s)

Analytics

Targeted Platforms

iOS

Relevant Log Output


If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

nosferatu500 avatar Mar 27 '25 03:03 nosferatu500