Skip to content

Commit 63d8012

Browse files
authored
Bump the minimum SwiftPM iOS version to 11. (#8030)
This is to avoid an issue with newer APIs being unable to compile when building for device while this manifest targets iOS 10. See #7785 (comment) for more details on the issue and a reproduction. This should be re-evaluated if Xcode ever fixes the issue.
1 parent 396c37a commit 63d8012

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

FirebaseCore/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
CocoaPod instead.
1616
- [removed] The `Firebase/MLVision` CocoaPods subspec has been removed. Use the
1717
`GoogleMLKit` CocoaPod instead.
18+
- [changed] The Swift Package Manager distribution now requires at least iOS 11.0. The CocoaPods
19+
distribution continues to support iOS 10.0.
1820
- [changed] The Swift Package Manager distribution now requires at least watchOS 7.0 for products
1921
that support watchOS. The CocoaPods distribution continues to support watchOS 6.0 with the
2022
exception of FirebaseDatabase.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let firebaseVersion = "8.0.0"
2121

2222
let package = Package(
2323
name: "Firebase",
24-
platforms: [.iOS(.v10), .macOS(.v10_12), .tvOS(.v10), .watchOS(.v7)],
24+
platforms: [.iOS(.v11), .macOS(.v10_12), .tvOS(.v10), .watchOS(.v7)],
2525
products: [
2626
.library(
2727
name: "FirebaseAnalytics",

SwiftPackageManager.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ Starting with the 6.31.0 release, Firebase supports installation via [Swift
66
Package Manager](https://swift.org/package-manager/) in Beta status. Exiting Beta is targeted for
77
the 8.0.0 release.
88

9-
10-
## Limitations
9+
## Requirements
1110

1211
- Requires Xcode 12.5
1312
- Analytics requires clients to add `-ObjC` linker option.
13+
- See [Package.swift](Package.swift) for supported platform versions.
14+
15+
## Limitations
16+
1417
- Analytics is only supported for iOS and cannot be used in apps that support other platforms.
1518
- Performance is not yet available.
1619
- watchOS support is available for Auth, Crashlytics, Messaging, Realtime Database, RemoteConfig,

0 commit comments

Comments
 (0)