Xcode beta crashes whenever I try to open Devices/Simulator window

Whenever I try to open the Devices/Simulator window, it opens for a second, then I get a spinning beachball and Xcode crashes with this message shown below.

It's a good thing this wasn't an *important* window, like the editor 😀 😀

Still, any ideas how I can fix this? I've tried reinstalling, deleting ~/Library/Developer/Xcode, rebooting, nothing seems to work.



Code Block Process: Xcode [1110]
Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.0 (17210.1)
Build Info: IDEFrameworks-17210001000000000~14 (12A8189n)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1110]
User ID: 501
Date/Time: 2020-08-30 15:14:23.931 -0500
OS Version: Mac OS X 10.16 (20A5354i)
Report Version: 12
Bridge OS Version: 5.0 (18P50358b)
Anonymous UUID: 4CC279BD-C050-70BE-3C9C-80C6689A987C
Time Awake Since Boot: 1000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [1110]
Application Specific Information:
ProductBuildVersion: 12A8189n
Crashing on exception: The window has been marked as needing another Update Constraints in Window pass, but it has already had more Update Constraints in Window passes than there are views in the window.
<DVTDevicesWindow: 0x7ff0819a7f80> 0x359 (857) {{367, 369}, {1040, 700}} Devices en



Accepted Reply

Well, found the official workaround from Xcode beta release note:

Workaround: Make sure that you have trusted all mobile devices paired with the Mac, disconnect any devices that you don’t wish to use for development, and set “Show scroll bars” to Always in the General pane of System Preferences.

https://developer.apple.com/documentation/xcode-release-notes/xcode-12-beta-release-notes

Tested and worked fine.

Replies

Same is happening for me and can't load the app to my iPhone with iOS 14 beta 6 from Xcode 12 beta 6 ...
same for me any fix?

Same. Suddenly started in beta 5. Now updated to beta 6 with Big Sur beta 6, still the same.
Well, found the official workaround from Xcode beta release note:

Workaround: Make sure that you have trusted all mobile devices paired with the Mac, disconnect any devices that you don’t wish to use for development, and set “Show scroll bars” to Always in the General pane of System Preferences.

https://developer.apple.com/documentation/xcode-release-notes/xcode-12-beta-release-notes

Tested and worked fine.
cookieapps, thank you so much! All I had to do was fiddle with the scroll bars, and I'm sure that I would've figured that out ... sometimes in the early 2030's 😀