本文介绍了Xcode 6.1崩溃“编辑方案”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我试图进入这个屏幕时,Xcode 6.1崩溃了:编辑方案 - >运行 - >选项选项卡



示例屏幕截图:



现在每次进入编辑方案时都会崩溃。 ..



我尝试重新启动甚至重新安装Xcode。
当我重新安装Xcode时,我可以打开编辑方案窗口,但选项选项卡再次崩溃。



崩溃报告:

 处理:Xcode [404] 
路径:/Applications/Xcode.app/Contents/MacOS/Xcode
标识符:com。 apple.dt.Xcode
版本:6.1(6604)
构建信息:IDEFrameworks-6604000000000000~2e)
父进程:??? [1]
负责人:Xcode [404]

日期/时间:2014-11-05 15:54:10.508 +0100
操作系统版本:Mac OS X 10.10(14A389) )
报告版本:11

启动时间唤醒:710秒

崩溃线程:0调度队列:com.apple.main-thread

异常类型:EXC_CRASH(SIGABRT)
例外代码:0x0000000000000000,0x0000000000000000

应用程序特定信息:
发送_editActiveContextAction:到< IDESchemeToolbarController:0x7fa2173e4940>来自< NSMenuItem:0x7fa217598500编辑方案...>
ProductBuildVersion:6A1052d
UNCAUGHT EXCEPTION(NSInvalidArgumentException):*** - [__ NSArrayM insertObject:atIndex:]:object不能为nil
UserInfo:(null)


解决方案

尝试将Mac OS语言设置切换为英语(系统偏好设置 - >语言和地区) ),在首选语言中添加英语并将其设置为主要语言。它帮助了我,每次我尝试访问Edit Scheme窗口中的Options时,我都将捷克语作为我的主要语言,Xcode崩溃了。在Xcode 8中工作,在之前的版本中没有尝试过。


Xcode 6.1 crashed when I tried to get to this screen: Edit scheme -> Run -> Options tab

Sample screenshot: http://meandmark.com/blog/wp-content/uploads/2013/12/Xcode-5-Current-Working-Directory.png

Now it crashes every time I go to "Edit Scheme..."

I'v tried rebooting and even reinstalling Xcode.When I reinstalled Xcode I was able to open "Edit scheme" window, but Options tab crashed it again.

Crash report:

Process:               Xcode [404]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.1 (6604)
Build Info:            IDEFrameworks-6604000000000000~2e)
Parent Process:        ??? [1]
Responsible:           Xcode [404]

Date/Time:             2014-11-05 15:54:10.508 +0100
OS Version:            Mac OS X 10.10 (14A389)
Report Version:        11

Time Awake Since Boot: 710 seconds

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
Sending _editActiveContextAction: to <IDESchemeToolbarController: 0x7fa2173e4940> from <NSMenuItem: 0x7fa217598500 Edit Scheme…>
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
UserInfo: (null)
解决方案

Try to switch your Mac OS language settings to English (System Preferences -> Language & Region), add English in Preferred Languages and set it to Primary. It helped me, I had Czech as my Primary Language and Xcode crashed every time I tried to access Options in Edit Scheme window. Works in Xcode 8, hadn't tried it in previous versions.

这篇关于Xcode 6.1崩溃“编辑方案”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 22:48