Xcode 12.3在更新后不断崩溃
我想将Xcode更新到12.3,但我的MacBook上没有足够的空间来安装,所以我从下载了Xcode 12.3,并将Xcode 12.3在更新后不断崩溃,xcode,macos,Xcode,Macos,我想将Xcode更新到12.3,但我的MacBook上没有足够的空间来安装,所以我从下载了Xcode 12.3,并将.xip文件归档到外部SSD上。之后,我将Xcode移回笔记本电脑,现在当我想启动Xcode时(因此,当我启动应用程序时,而不是某个特定项目!),它会崩溃,并出现以下日志: Process: Xcode [616] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Id
.xip
文件归档到外部SSD上。之后,我将Xcode移回笔记本电脑,现在当我想启动Xcode时(因此,当我启动应用程序时,而不是某个特定项目!),它会崩溃,并出现以下日志:
Process: Xcode [616]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.3 (17715)
Build Info: IDEFrameworks-17715000000000000~8 (12C33)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [616]
User ID: 501
Date/Time: 2020-12-18 14:22:40.576 +0200
OS Version: macOS 11.1 (20C69)
Report Version: 12
Bridge OS Version: 5.1 (18P3030)
Anonymous UUID: A6A1D2D4-69BA-5197-5F6F-C0FB4D60ADEB
Time Awake Since Boot: 91 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: 12C33
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-17718/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:110
Details: (extensionPoint) should not be nil.
Object: <DVTExtendedPlatformInfo>
Method: +extendedPlatformInfoForPlatformIdentifier:error:
Thread: <NSThread: 0x7faa6100a380>{number = 1, name = main}
Open FDs: 6/256
Hints:
Backtrace:
0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 __75+[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:error:]_block_invoke (in DVTFoundation)
4 _dispatch_client_callout (in libdispatch.dylib)
5 _dispatch_once_callout (in libdispatch.dylib)
6 +[DVTExtendedPlatformInfo extendedPlatformInfoForPlatformIdentifier:error:] (in DVTFoundation)
7 -[DVTPlatform(DVTExtendedPlatformInfo) dvt_extendedInfoOrError:] (in DVTFoundation)
8 +[DVTPlatform validatePlatformDataReturningError:] (in DVTFoundation)
9 IDEInitialize (in IDEFoundation)
10 -[IDEApplicationController applicationWillFinishLaunching:] (in IDEKit)
11 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
12 ___CFXRegistrationPost_block_invoke (in CoreFoundation)
13 _CFXRegistrationPost (in CoreFoundation)
14 _CFXNotificationPost (in CoreFoundation)
15 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
16 -[NSNotificationCenter(DVTNSNotificationCenterAdditions_MRR) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
17 -[NSApplication finishLaunching] (in AppKit)
18 -[DVTApplication finishLaunching] (in DVTKit)
19 -[NSApplication run] (in AppKit)
20 NSApplicationMain (in AppKit)
21 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
((extensionPoint)) != nil
进程:Xcode[616]
路径:/Applications/Xcode.app/Contents/MacOS/Xcode
标识符:com.apple.dt.Xcode
版本:12.3(17715)
构建信息:IDEFrameworks-177150000000000~8(12C33)
代码类型:X86-64(本机)
父进程:???[1]
负责人:Xcode[616]
用户ID:501
日期/时间:2020-12-1814:22:40.576+0200
操作系统版本:macOS 11.1(20C69)
报告版本:12
桥接操作系统版本:5.1(18P3030)
匿名UUID:A6A1D2D4-69BA-5197-5F6F-C0FB4D60ADEB
开机后的唤醒时间:91秒
系统完整性保护:已启用
崩溃线程:0调度队列:com.apple.main-Thread
异常类型:EXC_崩溃(SIGABRT)
异常代码:0x0000000000,0x0000000000000000
例外说明:EXC_尸体通知
特定于应用程序的信息:
ProductBuildVersion:12C33
/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-17718/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:110中的断言失败
详细信息:(扩展点)不应为零。
对象:
方法:+extendedPlatformInfoForPlatformIdentifier:错误:
线程:{number=1,name=main}
开放式FDs:6/256
提示:
回溯:
0-[IDEAssertionHandler handleFailureInMethod:对象:文件名:行号:断言签名:messageFormat:参数:](在IDEKit中)
1_DVTAssertionHandler(位于DVT地基中)
2_DVTAssertionFailureHandler(位于DVT地基中)
3 uu 75+[DVTExtendedPlatformInfo扩展平台信息ForPlatformIdentifier:error:][u block\u invoke(在DVTFoundation中)
4调度客户端调用(在libdispatch.dylib中)
5调度一次调用(在libdispatch.dylib中)
6+[DVTExtendedPlatformInfo扩展平台信息ForPlatformIdentifier:错误:](在DVTFoundation中)
7-[dvt平台(DVTEXTENDEDPLATFORINFO)dvt_扩展信息或错误:](在dvt基础中)
8+[DVTPlatform validatePlatformDataReturningError:(在DVTFoundation中)
9 IDEInitialize(在IDEFoundation中)
10-[IDEApplicationController应用程序将完成启动:](在IDEKit中)
11.通知中心正在召集观察员(在CoreFoundation中)
12 uuuu CFXRegistrationPost_block_调用(在CoreFoundation中)
13_CFXRegistrationPost(在CoreFoundation中)
14_CFXNotificationPost(在CoreFoundation中)
15-[NSNotificationCenter postNotificationName:object:userInfo:](在基础中)
16-[NSNotificationCenter(DVTNNotificationCenter添加\u MRR)\u dvt\u postNotificationName:object:userInfo:(在DVTFoundation中)
17-[NSApplication finishLaunching](在AppKit中)
18-[DVTApplication finishLaunching](在DVTKit中)
19-[N应用程序运行](在AppKit中)
20 NapplicationMain(在AppKit中)
21开始(在libdyld.dylib中)
调用了abort()
特定于应用程序的签名:
((扩展点))!=无
我已经尝试了我能在网上找到的一切:
- 重新启动Mac(在安全模式下)
- 将macOS更新为Big Sur 11.1
- 重新安装Xcode命令行工具
- 清除派生数据
- 使用AppCleaner清除所有与Xcode关联的文件(应用程序本身除外)
顺便说一下,导致断言失败的文件在我的计算机上根本不存在,这不是很奇怪吗?我设法在我的MacBook上释放了大约40 GB的空间,所以我可以从App Store下载Xcode。这似乎是一个“更干净”的安装,阻止了Xcode崩溃。我设法在我的MacBook上释放了大约40 GB的空间,所以我可以从应用商店下载Xcode。看起来这是一个“更干净”的安装,阻止了Xcode崩溃