[Submitted as FB24979057]
Device Hub is consistently crashing for me in Xcode 27.1. I initially encountered it while working in Xcode, but I can reproduce it completely independently of any project:
- Quit Xcode.
- Launch Device Hub directly.
- Wait a couple of seconds.
- Device Hub crashes.
The latest crash occurred about two seconds after Device Hub launched, so this doesn’t appear to be related to a particular Xcode project. :chatgpt-content-reference{index="0"}
Environment
- Xcode 27.0 (27A266a)
- DeviceHub 27.0 (255.2.6.6)
- macOS 27.0.1 (26A434)
- Apple silicon
The crash is on the main thread during AppKit/SwiftUI layout and constraint updating: :chatgpt-content-reference{index="1"} :chatgpt-content-reference{index="2"}
Exception Type: EXC_CRASH (SIGABRT)
Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6
AppKit
-[NSWindow(NSDisplayCycle) _postWindowNeedsUpdateConstraints]
-[NSView setNeedsUpdateConstraints:]
SwiftUI
NSHostingView.setNeedsUpdate()
NSHostingView.beginTransaction()
AppKitPlatformViewHost.invalidateLayout()
NSHostingView.SizeConstraints.update(from:)
DeviceHub
main
Has anyone else seen this in Xcode 27.1 or found a workaround?