Xcode 14 crash on opening AND creating new projects...

It was working before, but now from one moment to another it just wont.

I tried:

  • restarting
  • reinstalling
  • installing beta (this log is from beta, but was the same with stable)
  • combination of above
  • deleting DerivedData
  • deleting com.apple.dt.Xcode

No idea how to solve this, hope someone here can help pls!

Thanks!

Date/Time:        2022-11-08 10:20:46.748 +0100
End time:         2022-11-08 10:21:10.334 +0100
OS Version:       macOS 13.0 (Build 22A380)
Architecture:     arm64e
Report Version:   40
Incident Identifier: 96CE6A27-7A33-474D-AA6A-F65D61303DBF

Data Source:      Stackshots
Shared Cache:     5667EB2D-1398-3B38-AFFF-A929572D4B88 slid base address 0x1b3ab0000, slide 0x33ab0000 (System Primary)
Shared Cache:     EE01862F-FB72-33BF-954C-A23866E17DA6 slid base address 0x7ff818720000, slide 0x18720000 (Rosetta)
Shared Cache:     2A644CFA-7CD3-34D3-BF4A-308CEEC9E91D slid base address 0x1dbd68000, slide 0x5bd68000 (DriverKit)

Command:          Xcode
Path:             /Applications/Xcode 2.app/Contents/MacOS/Xcode
Identifier:       com.apple.dt.Xcode
Version:          14.1 (21534.1)
Build Version:    2
Product Build Version: 14B47b
Project Name:     IDEFrameworks
Source Version:   21534001000000000
Team ID:          59GAB85EFG
Is First Party:   Yes
Architecture:     arm64
Parent:           launchd [1]
PID:              1447
Time Since Fork:  80s

Event:            hang
Duration:         23.59s
Duration Sampled: 1.10s (process was unresponsive for 23 seconds before sampling)
Steps:            11 (100ms sampling interval)

Hardware model:   MacBookPro18,3
Active cpus:      8
HW page size:     16384
VM page size:     16384

Time Since Boot:  147s
Time Awake Since Boot: 147s
Time Since Wake:  n/a (machine hasn't slept)

Fan speed:        0 rpm
Total CPU Time:   3.694s (7.0G cycles, 8.4G instructions, 0.83c/i)
Advisory levels:  Battery -> 3, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space:  268.20 GB/460.43 GB, low space threshold 3072 MB
Vnodes Available: 70.49% (185497/263168)

Preferred User Language: en-GB, nl-ZA
Country Code:     GB
OS Cryptex File Extents: 2961

--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------


Heaviest stack for the main thread of the target process:
  11  start + 2544 (dyld + 24144) [0x1b3b53e50]
  11  NSApplicationMain + 880 (AppKit + 16472) [0x1b717f058]
  11  -[DVTApplication run] + 60 (DVTKit + 68240) [0x100e04a90]
  11  -[NSApplication run] + 464 (AppKit + 183280) [0x1b71a7bf0]
  11  -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 300 (DVTKit + 71816) [0x100e05888]
  11  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728 (AppKit + 231360) [0x1b71b37c0]
  11  _DPSNextEvent + 632 (AppKit + 235056) [0x1b71b4630]
  11  _BlockUntilNextEventMatchingListInModeWithFilter + 72 (HIToolbox + 204616) [0x1bd5cef48]
  11  ReceiveNextEventCommon + 672 (HIToolbox + 205312) [0x1bd5cf200]
  11  RunCurrentEventLoopInMode + 292 (HIToolbox + 205756) [0x1bd5cf3bc]
  11  CFRunLoopRunSpecific + 612 (CoreFoundation + 522404) [0x1b3f5b8a4]
  11  __CFRunLoopRun + 2452 (CoreFoundation + 526732) [0x1b3f5c98c]
  11  __CFRunLoopDoBlocks + 368 (CoreFoundation + 529632) [0x1b3f5d4e0]
  11  __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 28 (CoreFoundation + 529868) [0x1b3f5d5cc]
  11  ___NSMainRunLoopPerformBlockInModes_block_invoke + 44 (AppKit + 3998644) [0x1b754b3b4]
  11  __43-[IDEWelcomeWindowController openSelected:]_block_invoke + 72 (IDEKit + 1495648) [0x10542d260]
  11  -[IDEWelcomeWindowController _openURL:] + 72 (IDEKit + 1494972) [0x10542cfbc]
  11  -[IDEDocumentController openDocumentWithContentsOfURL:display:completionHandler:] + 464 (IDEKit + 3349300) [0x1055f1b34]
  11  -[IDEDocumentController _openDocumentsForDocumentLocations:display:completionHandler:] + 216 (IDEKit + 3348052) [0x1055f1654]
  11  -[IDEDocumentController _openProjectsPlaygroundsAndWorkspaces:display:completionHandler:] + 284 (IDEKit + 3345528) [0x1055f0c78]
  11  -[IDEDocumentController _openProjectsPlaygroundsAndWorkspaces:display:openedDocuments:simpleFileDocumentLocations:completionHandler:] + 1184 (IDEKit + 3347264) [0x1055f1340]
  11  -[IDEDocumentController _openWrappingContainerDocument:displayDocument:completionHandler:] + 140 (IDEKit + 3334364) [0x1055ee0dc]
  11  +[IDEContainer retainedWrappedWorkspaceForContainerAtFilePath:fileDataType:error:] + 580 (IDEFoundation + 3733884) [0x106ce397c]
  11  +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] + 1124 (IDEFoundation + 3730700) [0x106ce2d0c]
  11  __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke + 260 (IDEFoundation + 3731272) [0x106ce2f48]
  11  -[IDEWorkspace _configureWrappedWorkspaceWithError:] + 116 (IDEFoundation + 927032) [0x106a36538]
  11  +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] + 1100 (IDEFoundation + 3730676) [0x106ce2cf4]
  11  -[DVTModelObjectGraph performBlockCoalescingModelChanges:] + 148 (DVTFoundation + 892140) [0x101ce1cec]
  11  -[DVTModelGraphTransactionScope performTransaction:] + 60 (DVTFoundation + 1934564) [0x101de04e4]
  11  __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke + 104 (DVTFoundation + 892276) [0x101ce1d74]
  11  __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke + 188 (IDEFoundation + 3731200) [0x106ce2f00]
  11  -[DVTDispatchLock performLockedBlock:] + 60 (DVTFoundation + 2101472) [0x101e090e0]
  11  DVTDispatchBarrierSync + 148 (DVTFoundation + 2249900) [0x101e2d4ac]
  11  _dispatch_lane_barrier_sync_invoke_and_complete + 56 (libdispatch.dylib + 80540) [0x1b3d06a9c]
  11  _dispatch_client_callout + 20 (libdispatch.dylib + 17668) [0x1b3cf7504]
  11  __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke_2 + 852 (IDEFoundation + 3732388) [0x106ce33a4]
  11  -[Xcode3Project initWithFilePath:extension:workspace:options:error:] + 756 (DevToolsCore + 2130516) [0x10be38254]
  11  -[DVTFilePath performCoordinatedReadRecursively:] + 228 (DVTFoundation + 706696) [0x101cb4888]
  11  -[NSFileCoordinator coordinateReadingItemAtURL:options:error:byAccessor:] + 112 (Foundation + 283428) [0x1b4e4c324]
  11  -[NSFileCoordinator(NSPrivate) _coordinateReadingItemAtURL:options:error:byAccessor:] + 708 (Foundation + 284176) [0x1b4e4c610]
  11  -[NSFileCoordinator(NSPrivate) _blockOnAccessClaim:withAccessArbiter:] + 360 (Foundation + 285992) [0x1b4e4cd28]
  11  _dispatch_semaphore_wait_slow + 132 (libdispatch.dylib + 20820) [0x1b3cf8154]
  11  semaphore_wait_trap + 8 (libsystem_kernel.dylib + 3436) [0x1b3e3ed6c]
 *11  ??? (kernel.release.t6000 + 668792) [0xfffffe00083f3478]
Xcode 14 crash on opening AND creating new projects...
 
 
Q