diff --git a/FirebaseCore/CHANGELOG.md b/FirebaseCore/CHANGELOG.md index 319c3336460..b88758f7b8e 100644 --- a/FirebaseCore/CHANGELOG.md +++ b/FirebaseCore/CHANGELOG.md @@ -15,6 +15,8 @@ CocoaPod instead. - [removed] The `Firebase/MLVision` CocoaPods subspec has been removed. Use the `GoogleMLKit` CocoaPod instead. +- [changed] The Swift Package Manager distribution now requires at least iOS 11.0. The CocoaPods + distribution continues to support iOS 10.0. - [changed] The Swift Package Manager distribution now requires at least watchOS 7.0 for products that support watchOS. The CocoaPods distribution continues to support watchOS 6.0 with the exception of FirebaseDatabase. diff --git a/Package.swift b/Package.swift index 0fd153d8df9..a7e1ffff937 100644 --- a/Package.swift +++ b/Package.swift @@ -21,7 +21,7 @@ let firebaseVersion = "8.0.0" let package = Package( name: "Firebase", - platforms: [.iOS(.v10), .macOS(.v10_12), .tvOS(.v10), .watchOS(.v7)], + platforms: [.iOS(.v11), .macOS(.v10_12), .tvOS(.v10), .watchOS(.v7)], products: [ .library( name: "FirebaseAnalytics", diff --git a/SwiftPackageManager.md b/SwiftPackageManager.md index b15a7dcbede..4d0355cd079 100644 --- a/SwiftPackageManager.md +++ b/SwiftPackageManager.md @@ -6,11 +6,14 @@ Starting with the 6.31.0 release, Firebase supports installation via [Swift Package Manager](https://swift.org/package-manager/) in Beta status. Exiting Beta is targeted for the 8.0.0 release. - -## Limitations +## Requirements - Requires Xcode 12.5 - Analytics requires clients to add `-ObjC` linker option. +- See [Package.swift](Package.swift) for supported platform versions. + +## Limitations + - Analytics is only supported for iOS and cannot be used in apps that support other platforms. - Performance is not yet available. - watchOS support is available for Auth, Crashlytics, Messaging, Realtime Database, RemoteConfig,