I am utilizing Firebase in my iOS undertaking. In my AppDelegate, I’ve the next:
closing class AppDelegate: NSObject, UIApplicationDelegate {
func utility(_ utility: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
FirebaseApp.configure()
return true
}
}
In my undertaking’s goal settings:
Beneath Hyperlink Binary With Libraries, I’ve added FirebaseFirestore
and FirebaseCore
.
Beneath Frameworks, Libraries, and Embedded Content material, I additionally see FirebaseFirestore
and FirebaseCore
.
All the things associated to Firebase was working earlier than I added Firestore.
I attempted including the Firebase Swift Bundle with completely different dependency guidelines:
.upToNextMajor(from: "11.11.0") (i.e., 11.11.0 ..
However neither rule labored (I additionally deleted Derived Information and stop Xcode every time) and I hold getting the identical error from a title.
What’s the concern right here?
EDIT:
That is how package deal dependencies appear like:
If it issues, I’m utilizing Xcode Model 16.4 (16F6)
EDIT2:
I attempted it on an empty undertaking, and compiles usually. If there’s some extra data I may add, please let me know…