Xcode 10.3은 MacOS Big Sur 11.0.1 (베타 아님)에서 작동하지 않습니다.

Nov 13 2020

MacOS를 포맷하고 Xcode 10.3을 다시 다운로드하려고했습니다. 작동하지 않습니다.

Logs:

Process:               Xcode [22467]
Path:                  /Users/USER/Downloads/Xcode_10.3.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               10.3 (14492.2)
Build Info:            IDEFrameworks-14492002000000000~2 (10G8)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [22467]
User ID:               501

PlugIn Path:             /Users/USER/Downloads/Xcode_10.3.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib
PlugIn Identifier:       libMainThreadChecker.dylib
PlugIn Version:          ??? (64492.1)

Date/Time:             2020-11-13 16:52:33.909 +0800
OS Version:            macOS 11.0.1 (20B29)
Report Version:        12
Bridge OS Version:     3.0 (14Y908)
Anonymous UUID:        46BBB97A-6E02-4B36-B8CE-640575A752F0


Time Awake Since Boot: 4500 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x00007fff2379c9b9
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Bus error: 10
Termination Reason:    Namespace SIGNAL, Code 0xa
Terminating Process:   exc handler [22467]

VM Regions Near 0x7fff2379c9b9:
    __TEXT                   7fff22c03000-7fff23600000 [ 10.0M] r-x/r-x SM=COW  /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
--> __TEXT                   7fff23600000-7fff23800000 [ 2048K] r-x/rwx SM=PRV  /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    Submap                   7fff23800000-7fff40000000 [456.0M] r--/rwx SM=PRV  process-only VM submap

Application Specific Information:
/Users/junjie/Downloads/Xcode_10.3.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib
ProductBuildVersion: 10G8

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libMainThreadChecker.dylib      0x00000001176b8069 swizzleImplementationFast + 115
1   libMainThreadChecker.dylib      0x00000001176b7ef0 addSwizzler + 165
2   libMainThreadChecker.dylib      0x00000001176b7aec __library_initializer + 2937
3   dyld                            0x0000000117b21df5 ImageLoaderMachO::doImageInit(ImageLoader::LinkContext const&) + 321
4   dyld                            0x0000000117b2246d ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 

이 문제를 해결하는 방법에 대한 제안이나 아이디어가 있습니까?

답변

14 BananZ Nov 13 2020 at 16:11

좋아 ~ / Downloads / Xcode_10.3.app / Contents / Developer / usr / lib / libMainThreadChecker.dylib를 삭제하여 실행하고 실행했습니다. 내 프로젝트를 컴파일합니다.

안전을 위해 최신 Xcode 12.2에서 동일한 dylib 파일을 복사하여 해당 폴더에 넣었습니다. 지금까지 여전히 작동 중입니다.