Xcode 在特定项目上崩溃 [英] Xcode crashing on a specific project

查看:24
本文介绍了Xcode 在特定项目上崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 Xcode 上打开特定项目时,它崩溃并显示此错误消息(部分):

When I'm trying to open a specific project on Xcode it's crashing with this error message (part of it):

Process:               Xcode [729]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               8.1 (11544)
Build Info:            IDEFrameworks-11544000000000000~4
App Item ID:           497799835
App External ID:       819397000
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [729]
User ID:               501

Date/Time:             2016-11-06 18:39:39.261 +0200
OS Version:            Mac OS X 10.12.1 (16B2555)
Report Version:        12
Anonymous UUID:        E3BEFD49-5451-DC5B-81D3-2BD8B1F4987F


Time Awake Since Boot: 140 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: 8B62
UNCAUGHT EXCEPTION (NSRangeException): *** -[__NSArrayM objectAtIndex:]: index 5 beyond bounds [0 .. 4]
UserInfo: (null)
Hints: 

当我尝试打开另一个项目时,一切都很好,只是这个特定的项目.

When I try to open another project everything is fine, it's just this specific project.

我尝试重新启动我的 Mac,但它仍然崩溃.

I've tried to restart my Mac and it still crashes.

有人知道如何解决这个问题吗?

Anyone know how to fix this?

谢谢!

推荐答案

做一件事,清除/删除 Xcode 的所有派生数据,然后打开您的项目.这应该可以解决问题.

Do one thing, clear off/delete all the derived data for Xcode and then open your project. That should fix the issue.

还要向 Apple 报告错误,您只需转到 https://bugreporter.apple.com/ 并使用 Apple 登录凭据,他们会在几天内回复您.

Also to report a bug to Apple you can simply go to https://bugreporter.apple.com/ and login with apple credentials and and they'd get back to you in like couple of days.

对于派生数据,请执行以下操作:您可以转到 File >工作区设置(如果您处于工作区环境文件>常规项目环境的项目设置.

Also for derived data do the following: You can go to File > Workspace Settings if you are in a workspace environment or File > Project Settings for a regular project environment.

然后单击派生数据部分下的灰色小箭头并选择您的项目文件夹以将其删除.

Then click over the little grey arrow under Derived data section and select your project folder to delete it.

这篇关于Xcode 在特定项目上崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆