Skip to content

Instantly share code, notes, and snippets.

@tomkrikorian
Created August 6, 2025 10:00
Show Gist options
  • Select an option

  • Save tomkrikorian/5571fe6f178d8b62d5b98448bf668120 to your computer and use it in GitHub Desktop.

Select an option

Save tomkrikorian/5571fe6f178d8b62d5b98448bf668120 to your computer and use it in GitHub Desktop.

visionOS 26 Beta 4 to Beta 5 Changelog

New Features Added in Beta 5

Foundation Models Framework

  • Enhanced Refusal Handling - Framework now supports programmatically detecting when and why the model refuses to respond with LanguageModelSession.GenerationError.refusal and model-generated explanations (156086748)
  • Content Completion Detection - New isComplete property in GeneratedContent to check if content was fully generated (156109416)
  • Raw Content Access - Access underlying weakly typed GeneratedContent via rawContent property on Response or ResponseStream (156351123)
  • Permissive Content Transformations - New Guardrails.permissiveContentTransformations mode for text-to-text tasks like summarization and rewrite (156721060)

Game Controller

  • Multi-Device Pairing - Pair multiple Apple devices to DualSense or DualSense Edge controllers and switch between them directly (137782227)

Issues Resolved (Moved from Known Issues to Resolved Issues)

Spatial Video

  • Fixed: Immersive button missing on spatial video player in visionOS simulator (154772614)

UI Frameworks

  • Fixed: Gaze hover effects not appearing on controls when occluded by another object (149493534)

New Known Issues Added in Beta 5

ARKit

  • Anchor removal notifications not surfacing for AccessoryTrackingProviders when spatial accessories disconnect (155822320)

CompositorServices

  • Metal 4 with progressive immersion crashes when calling cp_drawable_render_context_mtl4_end_encoding (156963664)

CoreData (New Section)

  • SDK changes to Sendable annotations for Swift 6 compatibility may introduce new warnings for concurrency violations (153848710)

Foundation Models Framework

  • Model requests may erroneously throw guardrailViolation when model assets aren't fully downloaded (156223847)
  • Tools with enum arguments containing associated types encounter ToolCallError with decodingFailure (156723065)

Safari

  • Scroll indicator knob becomes invisible after use (154223351)

Search (New Section)

  • Some applications may quit unexpectedly when using search (157464670)

Spotlight (New Section)

  • Blank icons shown for native visionOS apps in Siri Suggestions (155998187)

SwiftUI

  • DragGesture has unitless default minimumDistance of 10 (144949485)

Additional Resolved Issues in Beta 5

ARKit

  • Fixed: Memory retention issue in ar_accessory_tracking_provider_get_latest_anchors documentation (154337356)
  • Fixed: Accessory tracking failures and controller recognition issues from Beta 4 (156458710)

Background Assets

  • Fixed: URL Override setting not saving port numbers, defaulting to port 443 (156113742)

Foundation Models Framework

  • Fixed: Guided generation and tool calling decoding failures (153773704)
  • Fixed: Tools not being called with guided generation (155313086)
  • Fixed: Enum with associated values causing SchemaError crashes (155957346)

RemoteImmersiveSpace

  • Fixed: App session ending due to Wi-Fi issues or Mac freezing (149237275)
  • Fixed: Blank UI window when using Mac Virtual Display (151899171)

SwiftUI

  • Fixed: Environment updates not propagating into popover content views (147954025)
  • Fixed: Gesture priority issues with UIGestureRecognizers and NSGestureRecognizers (155581361)

TextKit

  • Fixed: Inconsistent NSParagraphStyle indentation property directionality (155893102)

New Deprecations in Beta 5

CoreData

  • Removed support for deprecated NSPersistentStore option keys (over a decade old):
    • NSPersistentStoreUbiquitousContentNameKey
    • NSPersistentStoreUbiquitousContentURLKey
    • NSPersistentStoreUbiquitousPeerTokenOption
    • NSPersistentStoreRemoveUbiquitousMetadataOption
    • NSPersistentStoreUbiquitousContainerIdentifierKey
    • NSPersistentStoreRebuildFromUbiquitousContentOption
  • Apps built with iOS/macOS 26 SDK will get errors; older SDK apps will log warnings (157297746)

Version Compatibility Changes

RemoteImmersiveSpace

  • Added backwards compatibility restriction: visionOS 26 beta 5 not compatible with macOS 26 beta 4, and vice versa (153037593)

Summary: Beta 5 significantly enhances the Foundation Models framework with improved error handling, content completion detection, and more permissive content transformation modes. The release includes important CoreData concurrency improvements for Swift 6 compatibility, though this introduces breaking changes for deprecated iCloud sync options. Game Controller support expands with multi-device pairing capabilities. Several critical issues from Beta 4 were resolved, particularly around ARKit accessory tracking and Foundation Models tool calling, while new issues emerged primarily around UI components and search functionality.

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