Description
Description
Hi Firebase Team,
I’ve been working on a project that relies heavily on the FirebaseFirestoreSwift
module for integrating Firestore with Swift's Codable
protocol. This module was available in previous versions of the Firebase iOS SDK and is still mentioned in the official Firebase documentation.
However, after updating to the latest SDK version, I noticed that FirebaseFirestoreSwift
seems to be missing. I’ve checked the repository and searched through the documentation but couldn’t find any references indicating whether this module has been moved, renamed, or deprecated.
Could you please clarify:
- Has the
FirebaseFirestoreSwift
module been renamed or merged into another module in the latest SDK versions? - If it has been deprecated or removed, what is the recommended way to handle
Codable
support for Firestore in Swift in the current SDK? - Are there any alternative modules or methods provided by Firebase to achieve similar functionality?
I’ve tried rolling back to an older version of the SDK, but this has caused dependency resolution issues in Xcode. I’m hoping to find a clear path forward with the latest stable SDK version.
Thank you for your assistance.
Best regards,
Shantalia
Reproducing the issue
Expected Behavior:
- The
FirebaseFirestoreSwift
module should be available for import, allowing the use of Swift'sCodable
protocol with Firestore.
Actual Behavior:
- The
FirebaseFirestoreSwift
module is not found, resulting in a build error. - Attempts to use older SDK versions lead to package resolution errors in Xcode.
Firebase SDK Version
main /default version | latest
Xcode Version
Xcode Version: 16 beta 4
Installation Method
Swift Package Manager
Firebase Product(s)
Authentication, Firestore
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved
snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock
snippet
Replace this line with the contents of your Podfile.lock!