matomo-org / matomo-sdk-ios

Matomo iOS, tvOS and macOS SDK: a Matomo tracker written in Swift
MIT License
388 stars 164 forks source link

Please suport visionOS #443

Open GerdC opened 9 months ago

GerdC commented 9 months ago

Please suport visionOS.

in file Device.swift, there is a line

#elseif os(iOS) || os(tvOS)

Probably it is sufficient to change it to

#elseif os(iOS) || os(tvOS) || os(visionOS)

To reproduce and test the problem, compile with destination "Apple Vision Pro", not with destination "Apple Vision Pro(designed for iPad)"