Skip to content

Commit 75d148e

Browse files
authored
Update Crashlytics CLS_SDK_NAME for macCatalyst (#11123)
1 parent 54bf5ab commit 75d148e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Package.swift

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,11 @@ let package = Package(
521521
.headerSearchPath(".."),
522522
.define("DISPLAY_VERSION", to: firebaseVersion),
523523
.define("CLS_SDK_NAME", to: "Crashlytics iOS SDK", .when(platforms: [.iOS])),
524-
.define("CLS_SDK_NAME", to: "Crashlytics macOS SDK", .when(platforms: [.macOS])),
524+
.define(
525+
"CLS_SDK_NAME",
526+
to: "Crashlytics macOS SDK",
527+
.when(platforms: [.macOS, .macCatalyst])
528+
),
525529
.define("CLS_SDK_NAME", to: "Crashlytics tvOS SDK", .when(platforms: [.tvOS])),
526530
.define("CLS_SDK_NAME", to: "Crashlytics watchOS SDK", .when(platforms: [.watchOS])),
527531
.define("PB_FIELD_32BIT", to: "1"),
@@ -545,7 +549,11 @@ let package = Package(
545549
.headerSearchPath("../.."),
546550
.define("DISPLAY_VERSION", to: firebaseVersion),
547551
.define("CLS_SDK_NAME", to: "Crashlytics iOS SDK", .when(platforms: [.iOS])),
548-
.define("CLS_SDK_NAME", to: "Crashlytics macOS SDK", .when(platforms: [.macOS])),
552+
.define(
553+
"CLS_SDK_NAME",
554+
to: "Crashlytics macOS SDK",
555+
.when(platforms: [.macOS, .macCatalyst])
556+
),
549557
.define("CLS_SDK_NAME", to: "Crashlytics tvOS SDK", .when(platforms: [.tvOS])),
550558
.define("CLS_SDK_NAME", to: "Crashlytics watchOS SDK", .when(platforms: [.watchOS])),
551559
]

0 commit comments

Comments
 (0)