File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Sources/Examples/SwiftUI Examples Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -265,8 +265,10 @@ private func requestNotificationPermission() {
265265}
266266
267267private func requestLocationAuthorization( ) {
268+ #if !os(visionOS)
268269 CLLocationManager ( ) . requestAlwaysAuthorization ( )
269270 print ( " Location request finished. " )
271+ #endif
270272}
271273
272274private extension Turf . Feature {
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ targets:
1919 - path : ../Sources/Examples
2020 excludes :
2121 - VisionOSMain.swift
22+ - " Extensions/**"
2223 - " SwiftUI Examples/**"
2324 - " All Examples/Sample Data/**"
2425 - " Assets.xcassets/**"
@@ -30,6 +31,7 @@ targets:
3031 - path : ../Sources/Examples
3132 includes :
3233 - " SwiftUI Examples/**"
34+ - " Extensions/**"
3335 - " All Examples/Sample Data/**"
3436 - " Assets.xcassets/**"
3537 # destinationFilters: [iOS, visionOS]
You can’t perform that action at this time.
0 commit comments