Xcode 11 beta crashes on startup all the time

Hello,

I'd love to try out the new Xcode 11 Beta but when I try to open it, it immediatly crashes all the time.


Here's the output from the console:

default 08:40:21.346289 +0200 loginwindow -[PersistentAppsSupport applicationReady:] | App: Xcode-beta, ready, updating active tracking timer
default 08:40:21.346338 +0200 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] |      checked in app : Xcode-beta
default 08:40:21.503611 +0200 launchservicesd CHECKIN:0x0-0x6f06f 1720 com.apple.dt.Xcode
default 08:40:21.504250 +0200 loginwindow -[ApplicationManager checkInAppContext:refCon:eventData:] |      checked in app : Xcode
default 08:40:21.562715 +0200 Xcode Current system appearance, (HLTB: 2), (SLS: 1)
default 08:40:21.566234 +0200 Xcode Post-registration system appearance: (HLTB: 2)
default 08:40:21.585111 +0200 Xcode [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-14831.16/DVTFoundation/Assertions/DVTSoftAssertions.m:121
Details:  No path for file: LibrariesExemptedFromTriage.plist
Function: NSArray *_PlistDataFromFile(NSString *__strong)
Thread:   <NSThread: 0x7fea5a71b620>{number = 1, name = main}
Hints:
default 08:40:21.592282 +0200 Xcode [MT] DVTAssertions: 
Backtrace:
  0   -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)
  3   _PlistDataFromFile (in DVTFoundation)
  4   __DVTSoftAssertions_Initialize_block_invoke (in DVTFoundation)
  5   _dispatch_client_callout (in libdispatch.dylib)
  6   _dispatch_once_callout (in libdispatch.dylib)
  7   DVTSoftAssertions_Initialize (in DVTFoundation)
  8   IDEInitialize (in IDEFoundation)
  9   -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit)
 10   __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
 11   ___CFXRegistrationPost_block_invoke (in CoreFoundation)
 12   _CFXRegistrationPost (in CoreFoundation)
 13   ___CFXNotificationPost_block_invoke (in CoreFoundation)
 14   -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)
 15   _<…>
default 08:40:21.635821 +0200 loginwindow -[PersistentAppsSupport applicationQuit:] | for app:Xcode, _appTrackingState = 2
default 08:40:21.635854 +0200 loginwindow -[PersistentAppsSupport applicationQuit:] | App: Xcode, quit, updating activs tracking timer
default 08:40:30.915547 +0200 ReportCrash Saved crash report for Xcode[1720] version 11.0 (14855.18) to Xcode_2019-06-05-084030_MacBox-4.crash

Here's a link to the mentioned crashlog file:

https://www.dropbox.com/s/wg057zrgk6itssj/Xcode_2019-06-05-084030_MacBox-4.crash?dl=0


Appreciate your help!

Cheers,

Georg

Replies

Same here 😟


Did you find a solution? I'm trying a fresh down load of Xcode 11 beta 2, but no high hopes it will work.


I'm missing the /Library/Caches/com.apple.xbs folder completely - not sure if it should be created on first run of the beta?

2nd time did work - the only thing I can think that was different was I wasn't doing the first run (to install the components) from my external SSD.

Same here with Beta 5. I'm trying to download Beta 1, but I don't know what's going on at all

I solved my problem. I'll report what steps I took:

  • I've downloaded and installed beta 1 successfully
  • I've downloaded and installed beta 4 successfully
  • I've redownloaded beta 5 and now it installs successfully (without removing .xip file — but I don't think it matters)

I get this on the GM Xcode 11 when updating from the App Store : (


Process:               Xcode [806]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               11.0 (14936)
Build Info:            IDEFrameworks-14936000000000000~3
App Item ID:           497799835
App External ID:       832762837
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [806]
User ID:               501


Date/Time:             2019-09-21 09:32:13.570 +0200
OS Version:            Mac OS X 10.14.6 (18G95)
Report Version:        12
Anonymous UUID:        B971A85E-2BF6-197E-B081-A558A66B0B6D




Time Awake Since Boot: 480 seconds


System Integrity Protection: enabled


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


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


Application Specific Information:
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-14899/DVTFoundation/Assertions/DVTSoftAssertions.m:128
Details:  No path for file: LibrariesExemptedFromTriage.plist
Function: NSArray * _Nonnull _PlistDataFromFile(NSString * _Nonnull __strong)
Thread:   {number = 1, name = main}
Hints:  

Backtrace:
  0   -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)


Anyone know of any solution?

I got exactly the same error after updating to Xcode 11 from the App Store. I'd previously had Xcode 11 beta installed seperately at a different path. Not sure if that contributed to the problem.


In any case, the solution was to delete Xcode.app and install a fresh copy from scratch from the App Store.

Hello, I have problem with profile signing. When I with my apple id, Xcode will always crash. I don't know where the problem is. Every colleague experience the same thing, Xcode only works, when I remove apple id, otherwise, following error always appears, even, if I managed to disable automatic signing.


Crashed Thread: 25 Dispatch queue: ConcurrentQueue: -[IDEProvisioningMechanic _executeNextRepairIfNeeded]_block_invoke

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

Application Specific Information:
ProductBuildVersion: 11A420a
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-14936/IDEFoundation/Provisioning/Mechanic/IDEProvisioningRepairStepGenerator.m:252
Details: Didn't find a single primary certificate type from {(
)}
Object: <IDEProvisioningRepairStepGenerator_Automatic: 0x7fdc55061ef0>
Method: -_evaluateCertificatesWithSession:context:repairable:steps:userAction:error:
Thread: <NSThread: 0x7fdc44944ca0>{number = 20, name = (null)}
Hints:  

Backtrace:
  0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1 _DVTAssertionHandler (in DVTFoundation)
  2 _DVTAssertionFailureHandler (in DVTFoundation)
  3 -[IDEProvisioningRepairStepGenerator_Automatic _evaluateCertificatesWithSession:context:repairable:steps:userAction:error:] (in IDEFoundation)
  4 -[IDEProvisioningRepairStepGenerator_Automatic stepsWithSession:context:userAction:error:] (in IDEFoundation)
  5 -[IDEProvisioningRepair execute] (in IDEFoundation)
  6 __53-[IDEProvisioningMechanic _executeNextRepairIfNeeded]_block_invoke_2 (in IDEFoundation)
  7 __DVT_CALLING_CLIENT_BLOCK__ (in DVTFoundation)
  8 __DVTDispatchAsync_block_invoke (in DVTFoundation)
  9 _dispatch_call_block_and_release (in libdispatch.dylib)
 10 _dispatch_client_callout (in libdispatch.dylib)
 11 _dispatch_continuation_pop (in libdispatch.dylib)
 12 _dispatch_async_redirect_invoke (in libdispatch.dylib)
 13 _dispatch_root_queue_drain (in libdispatch.dylib)
 14 _dispatch_worker_thread2 (in libdispatch.dylib)
 15 _pthread_wqthread (in libsystem_pthread.dylib)
 16 start_wqthread (in libsystem_pthread.dylib)