xcode 6启动后的GM崩溃
我使用的是OS 10.10,Xcode 6 GM,我的项目是由swift编写的(& Objective-C)。xcode 6启动后的GM崩溃
该项目可以运行Xcode 6-beta7。
Process: Xcode [7267]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0 (6299)
Build Info: IDEFrameworks-6299000000000000~8
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7267]
User ID: 501
Date/Time: 2014-09-10 17:25:38.697 +0800
OS Version: Mac OS X 10.10 (14A343f)
Report Version: 11
Anonymous UUID: 587D71D4-C53F-50BF-625D-CF092416EEDC
Time Awake Since Boot: 12000 seconds
Crashed Thread: 14 Dispatch queue: shared-compile-command-queue :: NSOperation 0x7f887f8aa900 (QOS: UTILITY)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A313
ASSERTION FAILURE in /SourceCache/IDELanguageSupport/IDELanguageSupport-6233/XCLanguageSupport/XCSwiftCommandOutputParser.m:222
Details: (subcommand) should not be nil.
Object: <XCSwiftCommandOutputParser: 0x7f887cde4740>
Method: -handleCommandExitedMessage:didSignal:error:
Thread: <NSThread: 0x7f887ff8c130>{number = 14, name = (null)}
Hints: None
Backtrace:
0 0x000000010696cf0a -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 0x000000010572bbaf _DVTAssertionHandler (in DVTFoundation)
2 0x000000010572be9e _DVTAssertionFailureHandler (in DVTFoundation)
3 0x000000011470d6ce -[XCSwiftCommandOutputParser handleCommandExitedMessage:didSignal:error:] (in XCLanguageSupport)
4 0x000000011470c3b9 -[XCSwiftCommandOutputParser handleMessage:error:] (in XCLanguageSupport)
5 0x000000011470d7d9 -[XCSwiftCommandOutputParser writeBytes:length:] (in XCLanguageSupport)
6 0x0000000110c6cd70 -[XCLineBufferedOutputStream writeBytes:length:] (in DevToolsCore)
7 0x0000000110cfb5a0 -[XCWorkQueueCommandSubprocessInvocation handleOutputBytes:length:] (in DevToolsCore)
8 0x0000000110cfd490 -[XCWorkQueueCommandLocalSubprocessInvocation handleOutputFileDescriptorActivity] (in DevToolsCore)
9 0x0000000110d5abac -[Xcode3BuildTask main] (in DevToolsCore)
10 0x00007fff8ec0b0ac -[__NSOperationInternal _start:] (in Foundation)
11 0x00007fff8ec0acb3 __NSOQSchedule_f (in Foundation)
12 0x00007fff92116d53 _dispatch_client_callout (in libdispatch.dylib)
13 0x00007fff9211a3f7 _dispatch_queue_drain (in libdispatch.dylib)
14 0x00007fff9211bf4c _dispatch_queue_invoke (in libdispatch.dylib)
15 0x00007fff9211978b _dispatch_root_queue_drain (in libdispatch.dylib)
16 0x00007fff92128002 _dispatch_worker_thread3 (in libdispatch.dylib)
17 0x00007fff9a3366cb _pthread_wqthread (in libsystem_pthread.dylib)
18 0x00007fff9a3344a1 start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
((subcommand)) != nil
我有同样的问题,我暂时通过将产品名称更改为英文来解决此问题。看来这是Xcode GM版本的缺陷。
同样的问题。它似乎与桥接标题有关。从谟删除文件(BridgingHeader.h对我来说)允许打开项目,而不立即崩溃) 调查...
更新! 看来,这是由于该项目路径“•”字! 将包含我的项目的目录从“•projects”重命名为“projects”似乎解决了这个问题。
但是在删除BridgingHeader之后,项目不会编译......它让我发疯......如何解决它。 – Wstunes 2014-09-11 01:18:24
这里同样的问题。路径名中没有特殊字符。
只需在Finder中更改项目名称文件即可解决问题。 对我而言,另一种方法是将位置项目文件夹更改为我的桌面。
只需删除所有您的xcode模拟器派生的数据,您可以在〜/ Library/Developer/Xcode/DerivedData,woalaa ... crash问题找到派生数据路径。
绝对保存了我的培根,就在真正重要的会议之前! – Rambatino 2014-11-20 15:25:17
只需在Finder中更改项目父文件名即可修复它。
1)改变project.xcodeproj父的文件名(只改变.xcodeproj名字对我来说没有工作)
2)打开的Xcode
3)关闭的Xcode
4)改变姓名返回
这个错误似乎每个周末都会重新出现给我!我尝试了下面的其他答案并取得了一些成功,但它们并不总是有效。然后我偶然发现了这篇文章。
https://github.com/kattrali/deriveddata-exterminator/issues/20
从bdsinger评论: 我得到在Xcode 6.1 GM崩溃每当我使用后调整外部显示器上项目窗口 在工作中内置的视网膜 mbpro所有wkend LCD显示屏。崩溃报告显示插件是原因。 卸载,崩溃消失。如果我有 时间会更具体,对不起。但是,尽管如此,感谢插件和努力!
原来是我的笔记本电脑,雷电显示器和Hyperdocks之间的问题。整个星期,我在不同的地方使用我的笔记本电脑,但周末时我使用了雷电显示器。
从外接显示器上拔下笔记本电脑,打开Xcode项目(Yah!不会崩溃),然后重新连接到外接显示器。
注意:Hyperdocks是一个[付费]程序,它将Windows 7的最佳功能集成到您的Mac中。如通过对齐到两侧来调整窗口大小。 因此,通过使用此插件调整Xcode窗口的大小以及交换显示而导致崩溃。
试一试将产品名称改为英文会不会有问题? – yudun1989 2014-09-10 15:38:49
@ yudun1989谢谢!那就是问题所在!你可以发布它作为答案,所以我可以接受它。 – ZYiOS 2014-09-11 01:52:55