I have updated my Xcode to 15.0 and now its start 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.

Xcode 15.0 Error

3 Answers

update Firebase to v10 or change the line to

extern "C" const int64_t kFIRFirestoreCacheSizeUnlimited = Settings::CacheSizeUnlimited; 
4

I encountered the same issue while integrating the Firebase in my iOS application project. What What I did to overcome the issue is that i updated the Firebase version to 10.`enteplatform :ios, '13.0'

target 'Flash Chat iOS13' do use_frameworks!

Pods for Flash Chat iOS13

pod 'CLTypingLabel' , '~> 0.4.0' pod 'FirebaseAuth' pod 'FirebaseFirestore' , '~> 10.0'

end r code here`

You can update your package by going to project -> package dependencies and then selecting the package and update it to version 10 for Firebase enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.