An Attribute List Cannot Appear Here Firebase-Ios-Sdk, Xcode 15.0 Error

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.

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

Your Answer

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.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest