Skip to content

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

@nosferatu500

Description

@nosferatu500

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!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions