Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions FirebaseCore/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Firebase 12.17.0
- [fixed] Updated Swift Package Manager minimum deployment targets when building
with Xcode 27 betas (Swift 6.4+) to watchOS 9.0 and macOS 12.0. (#16408)
- [changed] Removed the (never activated) `recaptchaSiteKey` property from `FirebaseOptions`.
This feature is part of the public preview reCAPTCHA provider.

Expand Down
16 changes: 1 addition & 15 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let shouldUseSourceFirestore = Context.environment["FIREBASE_SOURCE_FIRESTORE"]

let package = Package(
name: "Firebase",
platforms: supportedPlatforms(),
platforms: [.iOS(.v15), .macCatalyst(.v15), .macOS(.v10_15), .tvOS(.v15), .watchOS(.v7)],
products: [
.library(
name: "FirebaseAI",
Expand Down Expand Up @@ -1367,20 +1367,6 @@ let package = Package(

// MARK: - Helper Functions

/// Returns the list of platforms supported by the package.
///
/// Under Xcode 27 (Swift 6.4+), watchOS 9 and macOS 12 are now the minimum deployment targets. For
/// Xcode 26.x and earlier, the deployment targets are watchOS 7 and macOS 10.15. The iOS, tvOS and
/// Mac Catalyst minimums remain the same for both.
func supportedPlatforms() -> [SupportedPlatform] {
// TODO: Remove the `compiler(>=6.4)` check when Xcode 27.x is the minimum supported version.
#if compiler(>=6.4)
return [.iOS(.v15), .macCatalyst(.v15), .macOS(.v12), .tvOS(.v15), .watchOS(.v9)]
#else
return [.iOS(.v15), .macCatalyst(.v15), .macOS(.v10_15), .tvOS(.v15), .watchOS(.v7)]
#endif
}

func firebaseCrashlyticsTarget() -> Target {
var cSettings: [CSetting] = [
.headerSearchPath(".."),
Expand Down
Loading