XCode 15 Crash when opening my project

When I open my project in xcode 15, xcode crashes. There is a crash log like the one below left in the console, but I don't know what the problem is. Help me please.


Process: Xcode [64836] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 15.3 (22618) Build Info: IDEApplication-22618000000000000~2 (15E204a) App Item ID: 497799835 App External ID: 863955376 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-03-13 21:46:59.6195 +0900 OS Version: macOS 14.3.1 (23D60) Report Version: 12 Anonymous UUID: 890BFE91-B9B2-6881-F8A8-805F270B77D0 Sleep/Wake UUID: 9F681F38-B0AB-49D1-B112-F2FDC781E376 Time Awake Since Boot: 700000 seconds Time Since Wake: 3098 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: IDEContainer - uniquing lock Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Xcode [64836] Application Specific Information: abort() called Application Specific Signatures: success

Thread 0 Crashed:: Dispatch queue: IDEContainer - uniquing lock 0 libsystem_kernel.dylib 0x18b52e0dc __pthread_kill + 8 1 libsystem_pthread.dylib 0x18b565cc0 pthread_kill + 288 2 libsystem_c.dylib 0x18b471a40 abort + 180 3 IDEKit 0x1082f3b64 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 972 4 IDEKit 0x1082f3fa4 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 872 5 DVTFoundation 0x1034e673c _DVTAssertionHandler + 424 6 DVTFoundation 0x1034e68bc _DVTAssertionFailureHandler + 196 7 DVTFoundation 0x1033ac410 +[DVTFilePath _filePathForParent:pathString:] + 512 8 DVTFoundation 0x1033aca9c -[DVTFilePath filePathForRelativePathString:] + 48 9 IDEFoundation 0x109c6cb44 -[IDEContainerGroupRelativeReferenceResolutionStrategy resolveInput:forContainer:group:inContext:usingSnapshot:error:] + 240 10 IDEFoundation 0x109c6c770 -[IDEContainerReferenceResolutionStrategy resolveInput:inContext:usingSnapshot:error:] + 188 11 DVTFoundation 0x1033ee8ec -[DVTReferenceResolver resolveInput:inContext:error:] + 300

12 IDEFoundation 0x109d78518 -[IDEContainerItem _absolutePath] + 180

13 IDEFoundation 0x109d78d10 -[IDEContainerItem resolvedFilePath] + 20

14 IDEFoundation 0x109be75b8 -[IDEGroup resolvedFilePath] + 64

15 IDEFoundation 0x109c6cad0 -[IDEContainerGroupRelativeReferenceResolutionStrategy resolveInput:forContainer:group:inContext:usingSnapshot:error:] + 124

16 IDEFoundation 0x109c6c770 -[IDEContainerReferenceResolutionStrategy resolveInput:inContext:usingSnapshot:error:] + 188

17 DVTFoundation 0x1033ee8ec -[DVTReferenceResolver resolveInput:inContext:error:] + 300

18 IDEFoundation 0x109d78518 -[IDEContainerItem _absolutePath] + 180

19 IDEFoundation 0x109d984dc -[IDEFileReference _absolutePath] + 100

20 IDEFoundation 0x109d98968 -[IDEFileReference presumedFileDataType] + 232

21 IDEFoundation 0x109d98d30 -[IDEFileReference _resolveReferencedContainerExtension] + 32

22 IDEFoundation 0x109d99018 -[IDEFileReference referencedContainerExtension] + 368

23 IDEFoundation 0x109dfe0a8 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] + 232

24 IDEFoundation 0x109dfe084 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] + 196

25 IDEFoundation 0x109dfe084 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] + 196

26 IDEFoundation 0x109dfe084 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] + 196

27 IDEFoundation 0x109dfe084 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] + 196

28 IDEFoundation 0x109dfe420 -[IDEContainer _locateFileReferencesRecursively] + 60

29 IDEFoundation 0x109e06e04 __46-[IDEContainer _didReadOperationWithFilePath:]_block_invoke + 172

30 IDEFoundation 0x109e0702c -[IDEContainer _readAsyncIfPossibleFromFilePath:error:] + 240

31 IDEFoundation 0x109e00e6c -[IDEContainer initWithFilePath:extension:workspace:options:error:] + 1104

32 DevToolsCore 0x12020dbe8 -[Xcode3Project initWithFilePath:extension:workspace:options:error:] + 1020

33 IDEFoundation 0x109e00078 __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke_2 + 856

34 libdispatch.dylib 0x18b3b4910 _dispatch_client_callout + 20

35 libdispatch.dylib 0x18b3c3cc4 _dispatch_lane_barrier_sync_invoke_and_complete + 56

36 DVTFoundation 0x10352d27c DVTDispatchBarrierSync + 148

37 DVTFoundation 0x103509024 -[DVTDispatchLock performLockedBlock:] + 60

38 IDEFoundation 0x109dffbd0 __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke + 188

39 DVTFoundation 0x1033db964 __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke + 104

40 DVTFoundation 0x1034dde78 -[DVTModelGraphTransactionScope performTransaction:] + 60

41 DVTFoundation 0x1033db8dc -[DVTModelObjectGraph performBlockCoalescingModelChanges:] + 148

42 IDEFoundation 0x109dff9c4 +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] + 1088

43 IDEFoundation 0x109d99670 -[IDEFileReference _recalculateReferencedContainer] + 428

44 IDEFoundation 0x109d99bf8 -[IDEFileReference referencedContainer] + 56

45 IDEFoundation 0x109dfe1bc -[IDEContainer _resolveFileReference:] + 112

46 IDEFoundation 0x109e01044 __67-[IDEContainer initWithFilePath:extension:workspace:options:error:]_block_invoke.176 + 20 : :

Are you Korean? I've discovered that if a folder name contains Korean characters, Xcode 15.3 fails to open and crashes. To resolve this issue, I had to download Xcode 15.2, open the project in that version, and then change the folder name to English within Xcode. It's also necessary to manually change the folder name to English in Finder and ensure this change is reflected correctly in the .pbxproj file.

case 1 in your asset folder, there could be a unnecessary files like (archive.zip but 'archive' in korean) that someone pushed carelessly. (maybe it is similar case that @regi9 said) remove it and try to open your project

case 2 open finder right click your project file (or control click) select 'show package contents' remove 'xcshareddata' and 'xcuserdata' folders

and test your project

Did you find a solution to this?

XCode 15 Crash when opening my project
 
 
Q