10 Replies
      Latest reply on Nov 25, 2019 11:07 PM by rosnow
      afonsohss Level 1 Level 1 (0 points)

        I have a big problem with Xcode. The same problem with beta 4 it's happening with beta 5.

        I can't open the Xcode, because it crashes as soon as open it.

        Follows the error message:

         

        Process:               Xcode [69152]

        Path:                  /Users/USER/Downloads/Xcode-beta.app/Contents/MacOS/Xcode

        Identifier:            com.apple.dt.Xcode

        Version:               11.0 (14908.4)

        Build Info:            IDEFrameworks-14908004000000000~13 (11M382q)

        Code Type:             X86-64 (Native)

        Parent Process:        ??? [1]

        Responsible:           Xcode [69152]

        User ID:               501

         

        Date/Time:             2019-07-29 22:41:26.362 -0300

        OS Version:            Mac OS X 10.15 (19A512f)

        Report Version:        12

        Bridge OS Version:     4.0 (17P50507f)

        Anonymous UUID:        EE6C1E98-FED6-4689-6CE9-9140DD027122

         

        Sleep/Wake UUID:       2FF2F9A6-55DB-4D34-9648-9173F5C21E14

         

        Time Awake Since Boot: 360000 seconds

        Time Since Wake:       30000 seconds

         

        System Integrity Protection: enabled

         

        Crashed Thread:        17  Dispatch queue: discovery driver

         

        Exception Type:        EXC_CRASH (SIGABRT)

        Exception Codes:       0x0000000000000000, 0x0000000000000000

        Exception Note:        EXC_CORPSE_NOTIFY

         

        Application Specific Information:

        ProductBuildVersion: 11M382q

        ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-14882.2/DVTFoundation/FilePaths/DVTFilePath.m:905

        Details:  str should be a string, but it is nil

        Object:   <DVTFilePath>

        Method:   +filePathForPathString:

        Thread:   <NSThread: 0x7fc0f1509630>{number = 12, name = (null)}

        Hints:

         

        Backtrace:

          0   -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)

          1   _DVTAssertionHandler (in DVTFoundation)

          2   _DVTAssertionFailureHandler (in DVTFoundation)

          3   +[DVTFilePath filePathForPathString:] (in DVTFoundation)

          4   __76-[IDEExtensionManager startSearchingForExtensionsOfExtensionPoint:callback:]_block_invoke_2 (in IDEFoundation)

          5   -[NSArray(DVTFoundationClassAdditions) dvt_objectsPassingTest:] (in DVTFoundation)

          6   __76-[IDEExtensionManager startSearchingForExtensionsOfExtensionPoint:callback:]_block_invoke (in IDEFoundation)

          7   __72-[IDEExtensionManager beginMatchingExtensionsWithAttributes:completion:]_block_invoke (in IDEFoundation)

          8  0x00007fff59664081 (in PlugInKit)

          9   _dispatch_call_block_and_release (in libdispatch.dylib)

        10   _dispatch_client_callout (in libdispatch.dylib)

        11   _dispatch_lane_serial_drain (in libdispatch.dylib)

        12   _dispatch_lane_invoke (in libdispatch.dylib)

        13   _dispatch_workloop_worker_thread (in libdispatch.dylib)

        14   _pthread_wqthread.cold.1 (in libsystem_pthread.dylib)

        15   _pthread_wqthread (in libsystem_pthread.dylib)

        16   start_wqthread (in libsystem_pthread.dylib)

         

        abort() called

         

        Application Specific Signatures:

        (str) != nil

        .

        .

        .

        .

        • Re: Xcode 11 beta 5 crashes as soon as open it.
          Krakor Level 1 Level 1 (0 points)

          Mine too.  running Catalina beta 5 (19A526h) on a early 2015 MB 12 Retina

          • Re: Xcode 11 beta 5 crashes as soon as open it.
            devColin Level 1 Level 1 (0 points)

            Same here. What do we do? I need to push code today...

            • Re: Xcode 11 beta 5 crashes as soon as open it.
              mikesand Level 1 Level 1 (0 points)

              Hey I also had this issue and eventually found a solution. Trying different things, I noticed that in Finder for files Xcode could open, when pulled up the "open with..." submenu there was beta 5 and beta 3, but also listings that didn't say Xcode but had the Xcode icon and what looked like build identifiers. 

              Following instructions to fix this by rebuilding the "launch services database" in terminal:

              `/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user`
              (This command probably will take a few seconds) then relaunch Finder, though maybe this isn't necessary for the issue:

              `killall Finder`

              After this I was able to launch Xcode Beta 5.

                • Re: Xcode 11 beta 5 crashes as soon as open it.
                  skuehn Level 1 Level 1 (0 points)

                  God bless you. You saved my life.

                   

                  I had the same issue with OS X Catalina, and Xcode 11.1 (both no beta, normal release version). Xcode was crashing after opening a specific project with a specific local Mac Account. After running your commands, it works.

                  • Re: Xcode 11 beta 5 crashes as soon as open it.
                    rosnow Level 1 Level 1 (0 points)

                    ``

                    I did this, and everything else I can find and I still have the problem. I try to open a project and Xcode crashes:

                     

                    Release Xcode and Catalina 10.15.1 (19B88)

                    ```

                    Process:               Xcode [1420]

                    Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode

                    Identifier:            com.apple.dt.Xcode

                    Version:               11.1 (15405)

                    Build Info:            IDEFrameworks-15405000000000000~13 (11A1027)

                    App Item ID:           497799835

                    App External ID:       832925179

                    Code Type:             X86-64 (Native)

                    Parent Process:        ??? [1]

                    Responsible:           Xcode [1420]

                    User ID:               504

                     

                     

                    Date/Time:             2019-10-28 15:25:24.591 -0700

                    OS Version:            Mac OS X 10.15 (19A603)

                    Report Version:        12

                    Bridge OS Version:     4.0 (17P572)

                    Anonymous UUID:        6CD43C5C-E2EE-E98D-4A82-7A3A1ECCF1A7

                     

                     

                    Sleep/Wake UUID:       FE029137-058E-4477-9815-E8298C811884

                     

                     

                    Time Awake Since Boot: 2600 seconds

                    Time Since Wake:       1300 seconds

                     

                     

                    System Integrity Protection: enabled

                     

                     

                    Crashed Thread:        10  Dispatch queue: IDEFolder Filetype Preheating work queue

                     

                     

                    Exception Type:        EXC_CRASH (SIGABRT)

                    Exception Codes:       0x0000000000000000, 0x0000000000000000

                    Exception Note:        EXC_CORPSE_NOTIFY

                     

                     

                    Application Specific Information:

                    ProductBuildVersion: 11A1027

                    ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-15403/DVTFoundation/FileTypes/DVTFileDataType.mm:156

                    Details:  Assertion failed: identCStr && identCStr[0]

                    Function: DVTPrimitiveFileDataType *_DVTGetPrimitiveFileDataTypeForIdentifierCStr_unlocked(const char *)

                    Thread:   <NSThread: 0x7fcc40b54d20>{number = 17, name = (null)}

                    Hints:

                  • Re: Xcode 11 beta 5 crashes as soon as open it.
                    Claude31 Level 8 Level 8 (7,185 points)

                    Did you try with XCode 11.2 (most recent is 11.2.1 GM Seed

                      • Re: Xcode 11 beta 5 crashes as soon as open it.
                        rosnow Level 1 Level 1 (0 points)

                        Yes, tried that and the Version 11.3 beta (11C24b), also update Catalina to 10.15.2 Beta (19C46a).

                         

                        I opened at DTS inciident and they were no help.

                         

                        Using a different Catalina user account did not help but creating a new APFS volume, installing Mohave there with latest GM Xcode, (slack, github etc) then Shutdown and reboot into that to use Xcode lets me build again.