I have updated my Xcode to 15.0 and now it's giving me this error:
ABSL_CONST_INIT extern "C" const int64_t kFIRFirestoreCacheSizeUnlimited =
Settings::CacheSizeUnlimited;
// An attribute list cannot appear here
I have gone through XCode 15.0 Release - firebase-ios-sdk bug: An attribute list cannot appear here issue on github but it does't provide support for swiftPackage manger.

update Firebase to v10 or change the line to
extern "C" const int64_t kFIRFirestoreCacheSizeUnlimited = Settings::CacheSizeUnlimited;
I was facing the same issue. I managed to fixed it by replacing this:
ABSL_CONST_INIT extern "C" const int64_t kFIRFirestoreCacheSizeUnlimited =
Settings::CacheSizeUnlimited;
with this:
extern "C" const int64_t kFIRFirestoreCacheSizeUnlimited = Settings::CacheSizeUnlimited;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With