我的Xcode版本8.0崩溃了

时间:2016-10-08 09:39:43

标签: objective-c xcode crash xcode8

我的Xcode崩溃,崩溃发生后,我将其更新到最新版本,即8.0 但它并没有停止崩溃。

Process:               Xcode [528]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               8.0 (11246)
Build Info:            IDEFrameworks-11246000000000000~3
App Item ID:           497799835
App External ID:       818744938
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [528]
User ID:               501

Date/Time:             2016-10-08 14:08:34.396 +0500
OS Version:            Mac OS X 10.11.6 (15G1004)
Report Version:        11
Anonymous UUID:        844112AA-C988-B86A-8002-19E0765599D4

Time Awake Since Boot: 180 seconds

System Integrity Protection: enabled

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

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

 Application Specific Information:ProductBuildVersion: 8A218a
 ASSERTION FAILURE in     /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks- 11246/IDEKit/Application/IDEWindowMenuController.m:101
 Details:  itemName should be a non-empty string, but it's an empty string
 Object:   <IDEWindowMenuController>
 Method:        +titleForItemWithURL:name:image:parentLocations:presentedParentLocationCount:includeIconInTitles:
Thread:   <NSThread: 0x7fc74ad179f0>{number = 1, name = main}
Hints:   None

以下是回溯报告:

Backtrace:
0   -[IDEAssertionHandler     handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)
  3   +[IDEWindowMenuController   titleForItemWithURL:name:image:parentLocations:presentedParentLocationCount:includeIconInTitles:] (in IDEKit)
  4   __90+[IDEWindowMenuController  _createAttributedTitlesForItemDictionaries:includeIconInTitles:]_block_invoke (in IDEKit)
  5   __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
  6   -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
  7   +[IDEWindowMenuController _createAttributedTitlesForItemDictionaries:includeIconInTitles:] (in IDEKit)
  8   -[IDEWindowMenuController _windowMenuItemsWithIconInTitles:] (in IDEKit)
  9   -[IDEApplicationController applicationDockMenu:] (in IDEKit)
 10   -[NSApplication _createDockMenu:] (in AppKit)
 11   __44-[NSApplication _copyPublicPersistentUIInfo]_block_invoke (in AppKit)
 12   __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
 13   __CFRunLoopDoBlocks (in CoreFoundation)
 14   __CFRunLoopRun (in CoreFoundation)
 15   CFRunLoopRunSpecific (in CoreFoundation)
 16   RunCurrentEventLoopInMode (in HIToolbox)
 17   ReceiveNextEventCommon (in HIToolbox)
 18   _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
 19   _DPSNextEvent (in AppKit)
 20   -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
 21   -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
 22   -[NSApplication run] (in AppKit)
 23   NSApplicationMain (in AppKit)
 24   start (in libdyld.dylib)

 abort() called

 Application Specific Signatures:
 ![(itemName) isEqualToString:@""]

2 个答案:

答案 0 :(得分:1)

请试试这些:

  1. 打开Xcode

  2. 选择

  3. 位置

  4. “派生数据”选项将告诉您目录的位置

  5. 删除该目录

  6. 尝试打开您的项目

  7. 并检查此线程: https://forums.developer.apple.com/thread/39603

答案 1 :(得分:0)

这次崩溃是由于我的项目中出现问题所以我是初学者,我认为问题出现在我的X-Code中。 项目自动加载并导致崩溃。 打开一个以前的项目,并试图阻止这个崩溃的项目,崩溃停止..:P