let task = Task {
try await withCheckedThrowingContinuation { continuation in
let storageReference = self.storage.reference(forURL: referencePath)
storageReference.getData() { data, error in
if let error {
continuation.resume(throwing: error)
return
}
guard let data, !data.isEmpty else {
continuation.resume(throwing: Error.error)
return
}
continuation.resume(returning: data)
}
} as Data
}
return await task.value
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.resolvedsnippetReplace this line with the contents of your Package.resolved.If using CocoaPods, the project's Podfile.lock
Expand
Podfile.locksnippetReplace this line with the contents of your Podfile.lock!