Skip to content

Commit d0f70ce

Browse files
authored
fix: Remove unnecessary metric kit check (#5809)
1 parent 9264ee8 commit d0f70ce

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/Swift/Core/MetricKit/SentryMXManager.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@ import Foundation
22

33
#if os(iOS) || os(macOS)
44

5-
/**
6-
* We need to check if MetricKit is available for compatibility on iOS 12 and below. As there are no compiler directives for iOS versions we use canImport.
7-
*/
8-
#if canImport(MetricKit)
95
import MetricKit
10-
#endif
116

127
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, *)
138
@available(tvOS, unavailable)

0 commit comments

Comments
 (0)