Issue Adding FirebaseFirestoreSwift Package in Xcode

Hello,

I am currently learning SwiftUI through a paid course and am working on integrating Firebase into my project. While trying to add the Firebase package through Xcode, everything seems to work fine except for the fact that I am unable to find the FirebaseFirestoreSwift package. I am using the latest versions of both Xcode and macOS.

I have attached a screenshot from the package manager where I couldn't locate the FirebaseFirestoreSwift package. Could you kindly assist me in resolving this issue? How can I correctly add this specific package to my project?

Thank you for your support.

Are you able to demonstrate the issue in a test project created from one of Xcode's templates, and using only Apple APIs? If not, you should check with the support resources provided by the makers of Firebase to get assistance with their software.

You can find tips on creating and sharing a test project in Creating a Test Project.

Same here, I've had it in previous versions of Xcode but it doesn't appear to be available from package manager since I've updated (don't know if there is a link here or not).

I'm glad its not just me, been searching the web for a while and unable to find anyone with similar problem. Any ideas anyone?

I have this previous app that I built using swift UI in xcode where it is available

and this is the app I created the other day, not listed

Only difference is the dependency rule section, but you can't change this in package manager so can't see if the versioning is the problem.

Its very annoying as you can't use the codable type on structs with firestore without FirebaseFirestoreSwift

Ok ignore I think the codable stuff is now part of FirebaseFirestore, importing that seems to have resolved the issues with the live debugger, we'll see if it maps the data properly next.

There is this article but it doesn't mention bringing in anything other than

import FirebaseFirestore

https://firebase.google.com/docs/firestore/solutions/swift-codable-data-mapping

Issue Adding FirebaseFirestoreSwift Package in Xcode
 
 
Q