4

私は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
4

6 に答える 6

4

私は同じ問題を抱えています。製品名を英語に変更することで一時的に解決しました。Xcode GM バージョンのバグのようです。

于 2014-09-11T02:38:21.143 に答える
2

Finderでプロジェクトの親ファイル名を変更するだけで修正されました。

1)project.xcodeproj親のファイル名を変更します(.xcodeproj名だけを変更してもうまくいきませんでした)

2) xcode を開く

3) xcode を閉じる

4) 名前を元に戻す

于 2014-11-09T18:50:55.457 に答える