xcode 6 GM发布后崩溃

问题描述 投票:4回答:6

我使用OS 10.10,Xcode 6 GM,我的项目由swift(&Objective-C)编写。

该项目可以使用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
xcode6 xcode6gm
6个回答
4
投票

我有同样的问题,我暂时解决了通过将产品名称更改为英语。似乎这是Xcode GM版本的错误。


5
投票

只需删除所有xcode模拟器派生的数据,你就可以在~/Library/Developer/Xcode/DerivedData找到派生数据路径,woalaa ...崩溃问题解决了。


2
投票

只需在Finder中更改项目父文件名即可修复它。

1)更改project.xcodeproj parent的文件名(更改.xcodeproj名称对我来说不起作用)

2)打开xcode

3)关闭xcode

4)更改名称


0
投票

同样的问题。它似乎与桥接头相关。从项目中删除文件(BridgingHeader.h)可以打开项目而不会立即崩溃!)调查......

更新:似乎是由于项目路径中的“•”字符!将包含我的项目的目录从“•projects”重命名为“projects”似乎解决了这个问题。


0
投票

同样的问题在这里路径名中没有特殊字符。

只需在Finder中更改项目名称文件即可解决问题。另一种对我有用的方法是将位置项目文件夹更改为我的桌面。


0
投票

这个错误似乎每个周末都会出现给我!我已经尝试了下面的其他答案并取得了一些成功,但是,它们并不总是有效。然后我偶然发现了这篇文章。

https://github.com/kattrali/deriveddata-exterminator/issues/20

来自bdsinger的评论:在视网膜mbpro all wkend上使用内置LCD显示器后,每当我在外部显示器上调整项目窗口大小时,我都会在Xcode 6.1 GM中崩溃。崩溃报告显示插件是原因。卸载后,崩溃消失了。如果我有时间会更具体,抱歉。但是,感谢插件和努力!

事实证明,我的笔记本电脑,霹雳显示器和Hyperdocks之间存在问题。整个星期我都在各个地方使用笔记本电脑,但是在周末我使用的是我的霹雳显示器。

从外部显示器上拔下您的笔记本电脑,打开Xcode项目(是啊!没有崩溃),然后将其重新连接到外部显示器。

注意:Hyperdocks是一个[付费]程序,它采用Windows 7的最佳功能并将它们集成到您的mac中。比如通过捕捉到侧面来调整窗口大小。因此,使用此插件调整Xcode窗口大小和交换显示导致崩溃。

© www.soinside.com 2019 - 2024. All rights reserved.