Closed jesus-mg-ios closed 2 months ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
@jesus-mg-ios Thanks for the report. Would you check if #13381 fixes your test case?
Nevermind. static
methods in an actor aren't thread safe. A fix will take more investigation.
Maybe a dispatch queue async with a barrier flag could do the trick.
Thanks. First, we'll see if we can address by migrating those internal APIs to Swift concurrency sometime in the next few weeks.
Description
Reproducing the issue
Define a storage instance and call
storage.reference(forURL: String)
from multiple threads and sometimes the warn in Xcode happened.Firebase SDK Version
10.25.0
Xcode Version
15.2
Installation Method
Swift Package Manager
Firebase Product(s)
Storage
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippet```json Replace this line with the contents of your Package.resolved. ```
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml Replace this line with the contents of your Podfile.lock! ```