Skip to content

fix: Add visionOS to platform checks#144

Open
JackFinnis wants to merge 2 commits intotikhop:masterfrom
JackFinnis:fix/visionos-meta-verifier
Open

fix: Add visionOS to platform checks#144
JackFinnis wants to merge 2 commits intotikhop:masterfrom
JackFinnis:fix/visionos-meta-verifier

Conversation

@JackFinnis
Copy link
Copy Markdown

Summary

Two #if os(...) guards are missing os(visionOS), causing build errors on visionOS:

  • MetaVerifier.swiftnativeAppVersionProvider and nativeBundleIdentifierProvider not compiled for visionOS
  • DeviceIdentifier.swiftdata and data_blocking not compiled for visionOS

This adds os(visionOS) to both platform checks. visionOS uses UIKit like iOS, so it belongs in the iOS/tvOS/watchOS block.

The `#if os(...)` guard on the native app version and bundle identifier
providers was missing `os(visionOS)`, causing a build error on visionOS:
"Cannot find 'nativeAppVersionProvider' in scope".
Same issue — the `#if os(...)` guard was missing `os(visionOS)`,
causing 'data_blocking' to be unavailable on visionOS.
@JackFinnis
Copy link
Copy Markdown
Author

is this ok to merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants