Skip to content

Commit d5bedb3

Browse files
committed
Pull in open-telemetry libraries on mac catalyst
1 parent 3a30f47 commit d5bedb3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,26 +97,26 @@ let package = Package(
9797
"SmithyChecksums",
9898
"SmithyCBOR",
9999
.product(name: "AwsCommonRuntimeKit", package: "aws-crt-swift"),
100-
// Only include these on macOS, iOS, tvOS, and watchOS (visionOS and Linux are excluded)
100+
// Only include these on macOS, iOS, tvOS, watchOS, and macCatalyst (visionOS and Linux are excluded)
101101
.product(
102102
name: "InMemoryExporter",
103103
package: "opentelemetry-swift",
104-
condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS])
104+
condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS, .macCatalyst])
105105
),
106106
.product(
107107
name: "OpenTelemetryApi",
108108
package: "opentelemetry-swift",
109-
condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS])
109+
condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS, .macCatalyst])
110110
),
111111
.product(
112112
name: "OpenTelemetrySdk",
113113
package: "opentelemetry-swift",
114-
condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS])
114+
condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS, .macCatalyst])
115115
),
116116
.product(
117117
name: "OpenTelemetryProtocolExporterHTTP",
118118
package: "opentelemetry-swift",
119-
condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS])
119+
condition: .when(platforms: [.macOS, .iOS, .tvOS, .watchOS, .macCatalyst])
120120
),
121121
],
122122
resources: [

0 commit comments

Comments
 (0)