Xcode8.3在更新后不断崩溃

Ate*_*man 12 xcode ios xcode8

更新后Xcode 8.3不断崩溃.在开始时它是30至40分钟,但今天它只是在10秒后崩溃.任何帮助将受到高度赞赏.以下是崩溃报告.

Process:               Xcode [555]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               8.3 (12169)
Build Info:            IDEFrameworks-12169000000000000~2
App Item ID:           497799835
App External ID:       821487965
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [555]
User ID:               501

Date/Time:             2017-03-29 17:52:50.427 +0500
OS Version:            Mac OS X 10.12.4 (16E195)
Report Version:        12
Anonymous UUID:        C95FFD88-0B61-915D-E373-1F31A265D400


Time Awake Since Boot: 250 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:
MainQueue: _compat_sourcekitd_set_notification_handler_block_invoke_2
ProductBuildVersion: 8E162
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-12150/DVTFoundation/FilePaths/DVTFilePath.m:905
Details:  Path must be absolute but is not: <built-in>
Object:   <DVTFilePath>
Method:   +filePathForPathString:
Thread:   <NSThread: 0x7fc33ae02970>{number = 1, name = main}
Run Code Online (Sandbox Code Playgroud)

arr*_*eme 1

我在 Xcode 8.3 中遇到了类似的问题,在我开始在项目中的任何 swift 文件中编辑代码后不久,它就崩溃了,编辑 Objective-C 文件从未导致崩溃

有几个步骤似乎有助于解决该问题:

  1. 退出 Xcode
  2. 删除 xcuserdata文件夹(在 Finder 中导航到您的项目,右键单击YourProject.xcworkspace,选择Show package contents,然后删除xcuserdata文件夹)。
  3. 删除派生数据

不过,我不能 100% 确定您需要在删除这些文件之前实际退出 Xcode。