Remove @available(visionOS 1, *), which is only available on Xcode 15 and above. Use obj-c preprocessor directives instead.
This was following the same approach as iOS in the lines below @available(iOS 11, *). iOS needs this because FaceID is only available on iOS 11 and above. VisionOS does not need it because visionOS 1 already has OpticID since launch.
Fixes #624
Remove
@available(visionOS 1, *)
, which is only available on Xcode 15 and above. Use obj-c preprocessor directives instead.This was following the same approach as iOS in the lines below
@available(iOS 11, *)
. iOS needs this because FaceID is only available on iOS 11 and above. VisionOS does not need it because visionOS 1 already has OpticID since launch.Tested on Xcode 14.3.1 and 15.2.