Symptom
“nw_protocol_get_quic_image_block_invoke dlopen libquic failed” error always occurs.
if let url = URL(string: baseUrlStr) { let task = URLSession.shared.dataTask(with: url) {(data, response, error) in } task.resume() }
Solution
Just ignore the error.
I tested the code above within main thread and global thread, and the error message was displayed in both cases. There is no way to avaid this error at this moment.
https://forums.swift.org/t/swift-firebase-connection/41632/6