Skip to content

fix: Add visionOS to platform checks - #144

Merged
tikhop merged 2 commits into
tikhop:masterfrom
JackFinnis:fix/visionos-meta-verifier
Jul 20, 2026
Merged

fix: Add visionOS to platform checks#144
tikhop merged 2 commits into
tikhop:masterfrom
JackFinnis:fix/visionos-meta-verifier

Conversation

@JackFinnis

Copy link
Copy Markdown
Contributor

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
Contributor Author

is this ok to merge?

@tikhop
tikhop merged commit a5d9f39 into tikhop:master Jul 20, 2026
3 checks passed
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