Skip to content

Add Apple Vision Pro support#488

Open
Zandor300 wants to merge 1 commit intomasterfrom
feature/apple-vision-pro-m5
Open

Add Apple Vision Pro support#488
Zandor300 wants to merge 1 commit intomasterfrom
feature/apple-vision-pro-m5

Conversation

@Zandor300
Copy link
Member

Summary

Implements full Apple Vision Pro support for DeviceKit by adding both Vision Pro (M2) and Vision Pro (M5) device models with identifiers RealityDevice14,1 and RealityDevice17,1 respectively.

  • Replaces all visionOS TODO placeholders with proper implementations
  • Adds device enum cases, identifier mapping, and property getters (description, safeDescription, cpu)
  • Implements static device arrays (allVisions, allSimulatorVisions)
  • Adds comprehensive unit tests for visionOS platform
  • Enables visionOS simulator testing in GitHub Actions CI

Test Plan

  • ✅ Swift package builds successfully on macOS
  • ✅ All existing tests pass
  • ✅ New visionOS unit tests verify identifier mapping, CPU properties, and device descriptions
  • ✅ Build tested with 9 platform simulator configurations (iOS, tvOS, watchOS, visionOS)
  • ✅ GitHub Actions will test visionOS on next workflow run

🤖 Generated with Claude Code

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

1 Warning
⚠️ Source/Device.generated.swift#L635 - Function should have complexity 10 or less: currently complexity equals 144
cyclomatic_complexity Device.generated.swift:635

SwiftLint found issues

Errors

File Line Reason
Device.generated.swift 635 Function should have complexity 10 or less: currently complexity equals 144 (cyclomatic_complexity)

Generated by 🚫 Danger

Implement full visionOS device support with both Vision Pro models (identifiers RealityDevice14,1 and RealityDevice17,1). Replace all visionOS TODO placeholders with proper implementations including device enum cases, identifier mapping, property getters (description, safeDescription, cpu), and static device arrays. Add comprehensive unit tests for visionOS platform. Enable visionOS simulator testing in GitHub Actions CI pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Zandor300 Zandor300 force-pushed the feature/apple-vision-pro-m5 branch from a198f9e to 0d92b33 Compare March 2, 2026 18:34
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.

1 participant