Xcode 16.1 (23503) keeps crashing on launch DVTPlugInManager

After upgrading to Xcode 16.1 the IDE does crash on launching, using Xcode 16.1 is not possible. When 1st launching Xcode 16.1 it asks to activate the plug-ins, after agreeing it crashes. All subsequent launches do crash with this report.

This is the same issue when Xcode 15 was release, subsequent releases fixed this. See here https://forums.developer.apple.com/forums/thread/738097


Translated Report (Full Report Below)

Process: Xcode [14193] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 16.1 (23503) Build Info: IDEApplication-23503000000000000~2 (16B40) App Item ID: 497799835 App External ID: 869932297 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2024-11-02 17:46:02.4767 +0100 OS Version: macOS 15.1 (24B83) Report Version: 12 Anonymous UUID: 794C407F-4930-BAA9-C41E-64C157CC3277

Sleep/Wake UUID: 0CF56A77-6F81-448D-9093-9461EE187F08

Time Awake Since Boot: 51000 seconds Time Since Wake: 7243 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Xcode [14193]

Application Specific Information: abort() called

Application Specific Signatures: 0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x194f76600 __pthread_kill + 8 1 libsystem_pthread.dylib 0x194faef70 pthread_kill + 288 2 libsystem_c.dylib 0x194ebb908 abort + 128 3 IDEKit 0x10610cdb8 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 964 4 IDEKit 0x10610d248 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 876 5 DVTFoundation 0x1022cc040 _DVTAssertionHandler + 424 6 DVTFoundation 0x1022cc1c0 _DVTAssertionFailureHandler + 196 7 DVTFoundation 0x10241b454 -[DVTPlugInManager _registerPlugInsFromScanRecords:] + 2412 8 DVTFoundation 0x1024192fc -[DVTPlugInManager _createPlugInObjectsFromScanRecords:] + 228 9 DVTFoundation 0x102417664 __52-[DVTPlugInManager _recordNonApplePlugInDescriptor:]_block_invoke + 92 10 DVTFoundation 0x102417c2c -[DVTPlugInManager _allowNonApplePlugInsFromDescriptors:error:] + 304 11 DVTFoundation 0x102417e14 -[DVTPlugInManager _checkNonApplePlugIns] + 204 12 DVTFoundation 0x102417ef0 -[DVTPlugInManager initializePlugIns:] + 20 13 IDEFoundation 0x10a7a8cac IDEInitialize + 6632 14 IDEKit 0x1060e45dc -[IDEApplicationController applicationWillFinishLaunching:] + 364 15 CoreFoundation 0x19508a800 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 148 16 CoreFoundation 0x19511b66c ___CFXRegistrationPost_block_invoke + 88 17 CoreFoundation 0x19511b5b4 _CFXRegistrationPost + 436 18 CoreFoundation 0x19505943c _CFXNotificationPost + 732 19 Foundation 0x196201b14 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88 20 AppKit 0x198bb2d30 -[NSApplication finishLaunching] + 248 21 AppKit 0x198bb29fc -[NSApplication run] + 252 22 IDEKit 0x1060dc798 -[IDEApplication run] + 60 23 AppKit 0x198b89364 NSApplicationMain + 888 24 dyld 0x194c2c274 start + 2840

Thread 1:: Dispatch queue: ConcurrentQueue: -[DVTPlugInManager _savePlugInCacheWithScanRecords:error:]block_invoke 0 libsystem_kernel.dylib 0x194f71d6c __unlink + 8 1 libsystem_kernel.dylib 0x194f71d48 unlink + 16 2 libremovefile.dylib 0x1a2a5b75c __removefile_tree_walker + 392 3 libremovefile.dylib 0x1a2a5b548 removefile + 340 4 Foundation 0x1964995f8 specialized static FileOperations.removeFile(::with:) + 224 5 Foundation 0x196762570 specialized String.withFileSystemRepresentation<A>(:) + 308 6 Foundation 0x19635f0f8 @objc _NSFileManagerBridge.removeItem(atPath:) + 136 7 DVTFoundation 0x10241c5b4 DVTPlugInManager_removePlugInCacheAtPath + 40 8 DVTFoundation 0x10241cb68 __58-[DVTPlugInManager _savePlugInCacheWithScanRecords:error:]_block_invoke_2 + 224 9 DVTFoundation 0x1023de414 DVT_CALLING_CLIENT_BLOCK + 16 10 DVTFoundation 0x1023dee3c __DVTDispatchAsync_block_invoke + 152 11 libdispatch.dylib 0x194dfa8f8 _dispatch_call_block_and_release + 32 12 libdispatch.dylib 0x194dfc658 _dispatch_client_callout + 20 13 libdispatch.dylib 0x194dffb08 _dispatch_continuation_pop + 596 14 libdispatch.dylib 0x194dff138 _dispatch_async_redirect_invoke + 580 15 libdispatch.dylib 0x194e0e314 _dispatch_root_queue_drain + 392 16 libdispatch.dylib 0x194e0eb20 _dispatch_worker_thread2 + 156 17 libsystem_pthread.dylib 0x194fab39c _pthread_wqthread + 228 18 libsystem_pthread.dylib 0x194faa0f0 start_wqthread + 8

Thread 2: 0 libsystem_pthread.dylib 0x194faa0e8 start_wqthread + 0

Thread 3: 0 libsystem_pthread.dylib 0x194faa0e8 start_wqthread + 0

Xcode 16.1 (23503) keeps crashing on launch DVTPlugInManager
 
 
Q