Problems with Xcode

Hello, I'm using Mac(MacBook Pro (13-inch, M1, 2020), Version 11.2.3) for two days and having problems with Xcode(Version 12.4 (12D4e)). The first problem I've encountered is exactly same problem with this: https://stackoverflow.com/questions/66060471/hung-on-checking-out-when-trying-to-clone-git-repository-to-xcode

After a while Xcode started crashing repeatedly.

The error logs look like this:
Code Block
Process: Xcode [1788]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.4 (17801)
Build Info: IDEFrameworks-17801000000000000~7 (12D4e)
App Item ID: 497799835
App External ID: 839994694
Code Type: ARM-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1788]
User ID: 501
Date/Time: 2021-03-27 14:22:13.319 +0300
OS Version: macOS 11.2.3 (20D91)
Report Version: 12
Anonymous UUID: 058FB042-CDB0-046E-5356-B1091752AEC7
Time Awake Since Boot: 1300 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:
ProductBuildVersion: 12D4e
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17801/IDEKit/Workspace/IDEWorkspaceDocument.m:3270
Details: (tabController) should not be nil.
Object: <IDEWorkspaceDocument: 0x1343991e0>
Method: -commitStateToDictionary:
Thread: <NSThread: 0x136f1d110>{number = 1, name = main}
Open FDs: 38/7168
Hints:
Backtrace:
0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 -[IDEWorkspaceDocument showWindows] (in IDEKit)
4 -[DVTStateToken _copyStatefulObjectState] (in DVTFoundation)
5 -[DVTStateToken pushStateToRepositoryAndReturnError:] (in DVTFoundation)
6 -[DVTStateRepository _updateStateIfNeeded] (in DVTFoundation)
7 -[DVTStateRepository collectStateFromRegisteredObjects] (in DVTFoundation)
8 -[IDEWorkspaceDocument writeStateData] (in IDEKit)
9 __28-[IDEWorkspaceDocument init]_block_invoke (in IDEKit)
10 -[DVTDelayedInvocation runBlock:] (in DVTFoundation)
11 __NSFireDelayedPerform (in Foundation)
12 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
13 __CFRunLoopDoTimer (in CoreFoundation)
14 __CFRunLoopDoTimers (in CoreFoundation)
15 __CFRunLoopRun (in CoreFoundation)
16 CFRunLoopRunSpecific (in CoreFoundation)
17 RunCurrentEventLoopInMode (in HIToolbox)
18 ReceiveNextEventCommon (in HIToolbox)
19 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
20 _DPSNextEvent (in AppKit)
21 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
22 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
23 -[NSApplication run] (in AppKit)
24 NSApplicationMain (in AppKit)
25 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
((tabController)) != nil


What would cause this? I haven't tried reinstalling Xcode yet. Should I do that?

Have you used Migration Assistant when you set up the M1 MacBook?
No, I haven't used it.

No, I haven't used it.

Thanks, Then your issue is not the same one I have read recently. Hope you can solve your issue soon.
Problems with Xcode
 
 
Q