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

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!