diff --git a/packages/analytics/Package.swift b/packages/analytics/Package.swift index 30c8072f..76287050 100644 --- a/packages/analytics/Package.swift +++ b/packages/analytics/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseAnalytics", package: "Firebase"), - .product(name: "FirebaseCore", package: "Firebase") + .product(name: "FirebaseAnalytics", package: "firebase-ios-sdk"), + .product(name: "FirebaseCore", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseAnalyticsPlugin"), .testTarget( diff --git a/packages/analytics/README.md b/packages/analytics/README.md index b0277e68..a749ef86 100644 --- a/packages/analytics/README.md +++ b/packages/analytics/README.md @@ -29,7 +29,7 @@ This plugin will use the following project variables (defined in your app’s `v ### iOS -Add the `CapacitorFirebaseAnalytics/Analytics` pod to your `Podfile` (usually `ios/App/Podfile`): +If you are using **CocoaPods** for your iOS project, you need to add the `CapacitorFirebaseAnalytics/Analytics` pod to your `Podfile` (usually `ios/App/Podfile`): ```diff target 'App' do @@ -47,7 +47,7 @@ See [Disable Analytics data collection](https://firebase.google.com/docs/analyti #### Disable IDFA collection -If you want to install Firebase without any IDFA collection capability, use the `CapacitorFirebaseAnalytics/AnalyticsWithoutAdIdSupport` pod in place of the `CapacitorFirebaseAnalytics/Analytics` pod: +If you are using **CocoaPods** for your iOS project and you want to disable IDFA collection, you can use the `CapacitorFirebaseAnalytics/AnalyticsWithoutAdIdSupport` pod instead of the `CapacitorFirebaseAnalytics/Analytics` pod: ```diff target 'App' do diff --git a/packages/app-check/Package.swift b/packages/app-check/Package.swift index a29ce6b3..9e592ef9 100644 --- a/packages/app-check/Package.swift +++ b/packages/app-check/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseAppCheck", package: "Firebase"), - .product(name: "FirebaseCore", package: "Firebase") + .product(name: "FirebaseAppCheck", package: "firebase-ios-sdk"), + .product(name: "FirebaseCore", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseAppCheckPlugin"), .testTarget( diff --git a/packages/app/Package.swift b/packages/app/Package.swift index 76b638f5..3b779a6b 100644 --- a/packages/app/Package.swift +++ b/packages/app/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,7 +19,7 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseCore", package: "Firebase") + .product(name: "FirebaseCore", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseAppPlugin"), .testTarget( diff --git a/packages/authentication/Package.swift b/packages/authentication/Package.swift index 567b77f7..f99c40ea 100644 --- a/packages/authentication/Package.swift +++ b/packages/authentication/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseAuth", package: "Firebase"), - .product(name: "FirebaseCore", package: "Firebase") + .product(name: "FirebaseAuth", package: "firebase-ios-sdk"), + .product(name: "FirebaseCore", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseAuthenticationPlugin"), .testTarget( diff --git a/packages/authentication/docs/setup-facebook.md b/packages/authentication/docs/setup-facebook.md index 8f2dff17..332f3b8f 100644 --- a/packages/authentication/docs/setup-facebook.md +++ b/packages/authentication/docs/setup-facebook.md @@ -59,7 +59,7 @@ ## iOS 1. Add `facebook.com` to the `providers` [configuration](https://github.com/capawesome-team/capacitor-firebase/tree/main/packages/authentication#configuration) array. -1. Add the `CapacitorFirebaseAuthentication/Facebook` pod to your `Podfile` (usually `ios/App/Podfile`): +1. If you are using **CocoaPods** for your iOS project, add the `CapacitorFirebaseAuthentication/Facebook` pod to your `Podfile` (usually `ios/App/Podfile`): ```diff target 'App' do diff --git a/packages/authentication/docs/setup-google.md b/packages/authentication/docs/setup-google.md index ae371c72..de801698 100644 --- a/packages/authentication/docs/setup-google.md +++ b/packages/authentication/docs/setup-google.md @@ -19,7 +19,7 @@ ## iOS 1. Add `google.com` to the `providers` [configuration](https://github.com/capawesome-team/capacitor-firebase/tree/main/packages/authentication#configuration) array. -1. Add the `CapacitorFirebaseAuthentication/Google` pod to your `Podfile` (usually `ios/App/Podfile`): +1. If you are using **CocoaPods** for your iOS project, add the `CapacitorFirebaseAuthentication/Google` pod to your `Podfile` (usually `ios/App/Podfile`): ```diff target 'App' do @@ -33,7 +33,7 @@ Run [`npx cap update`](https://capacitorjs.com/docs/cli/update) to update the native plugins and dependencies. -1. Add the following post install script to your `Podfile` (usually `ios/App/Podfile`) to disable code signing for bundles: +1. If you are using **CocoaPods** for your iOS project, add the following post install script to your `Podfile` (usually `ios/App/Podfile`) to disable code signing for bundles: ```ruby post_install do |installer| installer.pods_project.targets.each do |target| diff --git a/packages/crashlytics/Package.swift b/packages/crashlytics/Package.swift index 06c3ad6a..e473b037 100644 --- a/packages/crashlytics/Package.swift +++ b/packages/crashlytics/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseCore", package: "Firebase"), - .product(name: "FirebaseCrashlytics", package: "Firebase") + .product(name: "FirebaseCore", package: "firebase-ios-sdk"), + .product(name: "FirebaseCrashlytics", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseCrashlyticsPlugin"), .testTarget( diff --git a/packages/firestore/Package.swift b/packages/firestore/Package.swift index 3c56bb6e..dfe4d2cf 100644 --- a/packages/firestore/Package.swift +++ b/packages/firestore/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseCore", package: "Firebase"), - .product(name: "FirebaseFirestore", package: "Firebase") + .product(name: "FirebaseCore", package: "firebase-ios-sdk"), + .product(name: "FirebaseFirestore", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseFirestorePlugin"), .testTarget( diff --git a/packages/functions/Package.swift b/packages/functions/Package.swift index d2820b1c..3bb6c8f1 100644 --- a/packages/functions/Package.swift +++ b/packages/functions/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseCore", package: "Firebase"), - .product(name: "FirebaseFunctions", package: "Firebase") + .product(name: "FirebaseCore", package: "firebase-ios-sdk"), + .product(name: "FirebaseFunctions", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseFunctionsPlugin"), .testTarget( diff --git a/packages/messaging/Package.swift b/packages/messaging/Package.swift index 563c9a3b..5abdd1f7 100644 --- a/packages/messaging/Package.swift +++ b/packages/messaging/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseCore", package: "Firebase"), - .product(name: "FirebaseMessaging", package: "Firebase") + .product(name: "FirebaseCore", package: "firebase-ios-sdk"), + .product(name: "FirebaseMessaging", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseMessagingPlugin"), .testTarget( diff --git a/packages/performance/Package.swift b/packages/performance/Package.swift index cfa45cf0..2447f52d 100644 --- a/packages/performance/Package.swift +++ b/packages/performance/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseCore", package: "Firebase"), - .product(name: "FirebasePerformance", package: "Firebase") + .product(name: "FirebaseCore", package: "firebase-ios-sdk"), + .product(name: "FirebasePerformance", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebasePerformancePlugin"), .testTarget( diff --git a/packages/remote-config/Package.swift b/packages/remote-config/Package.swift index 88813968..b7535700 100644 --- a/packages/remote-config/Package.swift +++ b/packages/remote-config/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseCore", package: "Firebase"), - .product(name: "FirebaseRemoteConfig", package: "Firebase") + .product(name: "FirebaseCore", package: "firebase-ios-sdk"), + .product(name: "FirebaseRemoteConfig", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseRemoteConfigPlugin"), .testTarget( diff --git a/packages/storage/Package.swift b/packages/storage/Package.swift index e1635e01..eff52017 100644 --- a/packages/storage/Package.swift +++ b/packages/storage/Package.swift @@ -11,7 +11,7 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"), - .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0")) + .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0")) ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "Capacitor", package: "capacitor-swift-pm"), .product(name: "Cordova", package: "capacitor-swift-pm"), - .product(name: "FirebaseCore", package: "Firebase"), - .product(name: "FirebaseStorage", package: "Firebase") + .product(name: "FirebaseCore", package: "firebase-ios-sdk"), + .product(name: "FirebaseStorage", package: "firebase-ios-sdk") ], path: "ios/Sources/FirebaseStoragePlugin"), .testTarget(