Thursday, June 25, 2026
HomeiOS Developmentios - Generic parameter 'T' couldn't be inferred .Kind 'Storage' has no...

ios – Generic parameter ‘T’ couldn’t be inferred .Kind ‘Storage’ has no member ‘storage’ Firebase Storage Reference Swift

[ad_1]

I used to be utilizing the next code to initialize firebase storage reference

let storageRef = Storage.storage().reference()

And it labored high-quality. After updating the pods I am getting the next error

Generic parameter 'T' couldn't be inferred
Explicitly specify the generic arguments to repair this situation [Fix]

Kind 'Storage<T>' has no member 'storage'

Once I press the [Fix], it provides arguments to the code, as proven under

let storageRef = Storage<<#T: Decodable & Encodable#>>.storage().reference()

Might somebody inform how might I repair this? Any assist can be appreciated.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments