Xcode 7 在创建新文件时崩溃 [英] Xcode 7 crashes while it is creating new file

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

问题描述

我有El Capitan GM"并且我已经将我的 Xcode 更新为 Xcode 7 GM.现在我无法创建新类,Xcode 崩溃并显示以下消息:

I have "El Capitan GM" and I've updated my Xcode to Xcode 7 GM. Now I can't create new classes, Xcode crashes with message:

UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSOpenPanel setAccessoryViewDisclosed:]: unrecognized selector sent to instance 0x7f940cf89af0

有人遇到过这个问题吗?有人解决了吗?

Is someone had faced with this problem? Is someone had solved it?

UPD

现在我使用 AppCode 创建新文件并使用 Xcode 编写代码.

Now I'm using AppCode to create new files and Xcode to write a code.

推荐答案

这也发生在我身上.

我将系统更新为 El Capitan GM(之前,我从 Yosemite 更新到 El Capitan Beta 版本),

I updated my system to El Capitan GM (previously, I updated from Yosemite to El Capitan Beta versions),

将 Xcode 从 6.5 更新到 7.0.

updated Xcode from 6.5 to 7.0.

当我创建任何类型的项目时,在填写项目名称等后单击下一步"按钮时,它总是崩溃

When I create any kind of project, It keeps crashing when I click 'Next' button after filling project name, etc.

我尝试清理首选项,尝试删除 Xcode 7.0 并重新安装它.这些解决方案都不起作用.

I tried to clean preferences, tried to delete Xcode 7.0 and reinstall it. None of these solutions work.

我的解决方案是:

重启我的 Macbook Air,然后进入恢复模式,

Restart my My Macbook Air, and enter Recovery Mode,

然后选择重新安装 Mac OS X.

and choose Reinstall Mac OS X.

希望这对您有所帮助.

这篇关于Xcode 7 在创建新文件时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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