- Requires Xcode 15.2 or above
- See Package.swift for supported platform versions.
Add a package by selecting File
→ Add Packages…
in Xcode’s menu bar.
Search for the Firebase Data Connect Apple SDK using the repo's URL:
https://github.com/firebase/data-connect-ios-sdk.git
Next, set the Dependency Rule to be Up to Next Major Version
.
Then, select Add Package.
Choose the product FirebaseDataConnect to install in your app.
To integrate via a Package.swift
manifest instead of Xcode, you can add
Firebase Data Connect to the dependencies array of your package:
dependencies: [
.package(
url: "https://github.com/firebase/data-connect-ios-sdk.git",
.upToNextMajor(from: "11.3.0")
),
// Any other dependencies you have...
],
Then, in any target that depends on Firebase Data Connect, add it to the dependencies
array of that target:
.target(
name: "MyTargetName",
dependencies: [
.product(name: "FirebaseDataConnect", package: "data-connect-ios-sdk"),
]
),
Please provide any feedback via a GitHub Issue.
See current open Swift Package Manager issues here.