@@ -75,9 +75,9 @@ public struct SentrySDKWrapper {
75
75
}
76
76
}
77
77
78
- #if !os(tvOS) && !os(watchOS)
78
+ #if !os(tvOS) && !os(watchOS) && !os(visionOS)
79
79
configureProfiling ( options)
80
- #endif // !os(tvOS) && !os(watchOS)
80
+ #endif // !os(tvOS) && !os(watchOS) && !os(visionOS)
81
81
82
82
options. enableAutoSessionTracking = !SentrySDKOverrides. Performance. disableSessionTracking. boolValue
83
83
if let sessionTrackingIntervalMillis = env [ " --io.sentry.sessionTrackingIntervalMillis " ] {
@@ -133,11 +133,11 @@ public struct SentrySDKWrapper {
133
133
134
134
options. initialScope = configureInitialScope ( scope: )
135
135
136
- #if !os(macOS) && !os(tvOS) && !os(watchOS)
136
+ #if !os(macOS) && !os(tvOS) && !os(watchOS) && !os(visionOS)
137
137
if #available( iOS 13 . 0 , * ) {
138
138
options. configureUserFeedback = configureFeedback ( config: )
139
139
}
140
- #endif // !os(macOS) && !os(tvOS) && !os(watchOS)
140
+ #endif // !os(macOS) && !os(tvOS) && !os(watchOS) && !os(visionOS)
141
141
142
142
// Experimental features
143
143
options. experimental. enableFileManagerSwizzling = !SentrySDKOverrides. Other. disableFileManagerSwizzling. boolValue
@@ -192,7 +192,7 @@ public struct SentrySDKWrapper {
192
192
}
193
193
}
194
194
195
- #if !os(macOS) && !os(tvOS) && !os(watchOS)
195
+ #if !os(macOS) && !os(tvOS) && !os(watchOS) && !os(visionOS)
196
196
// MARK: User feedback configuration
197
197
@available ( iOS 13 . 0 , * )
198
198
extension SentrySDKWrapper {
@@ -381,7 +381,7 @@ extension SentrySDKWrapper {
381
381
}
382
382
}
383
383
}
384
- #endif // !os(macOS) && !os(tvOS) && !os(watchOS)
384
+ #endif // !os(macOS) && !os(tvOS) && !os(watchOS) && !os(visionOS)
385
385
386
386
// MARK: Convenience access to SDK configuration via launch arg / environment variable
387
387
extension SentrySDKWrapper {
@@ -416,7 +416,7 @@ extension SentrySDKWrapper {
416
416
}
417
417
418
418
// MARK: Profiling configuration
419
- #if !os(tvOS) && !os(watchOS)
419
+ #if !os(tvOS) && !os(watchOS) && !os(visionOS)
420
420
extension SentrySDKWrapper {
421
421
func configureProfiling( _ options: Options ) {
422
422
if let sampleRate = SentrySDKOverrides . Profiling. sampleRate. floatValue {
@@ -438,6 +438,6 @@ extension SentrySDKWrapper {
438
438
}
439
439
}
440
440
}
441
- #endif // !os(tvOS) && !os(watchOS)
441
+ #endif // !os(tvOS) && !os(watchOS) && !os(visionOS)
442
442
443
443
// swiftlint:enable file_length function_body_length
0 commit comments