簡體   English   中英

Xcode 6在OS X 10.10上崩潰,異常名稱為:IBAssertionFailure

[英]Xcode 6 crashes on OS X 10.10 with with Exception name: IBAssertionFailure

當我在界面生成器中復制並粘貼uitableview單元時,它工作正常。 但是在第二天,當我啟動Xcode時,它崩潰並報告了,

與Interface Builder Cocoa Touch Tool通信時遇到錯誤。 如果您選擇針對此問題提交崩潰報告或Radar,請在Console.app中查看“ Interface Builder Cocoa Touch Tool”的崩潰報告,並將其內容包括在崩潰報告中。

異常名稱:IBAssertionFailure異常原因:ASSERTION FAILURE:containsTableView原因:任何添加到布局引擎的表格視圖單元都應包含在表格視圖中,以便獲得正確的指標

我試圖通過以下鏈接https://stackoverflow.com/a/6247073/1556386 empty cache 我也嘗試fresh reinstall Xcode 6.1.1但沒有解決任何問題。 例外詳情如下:

Process:               Xcode [3408]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.1.1 (6611)
Build Info:            IDEFrameworks-6611000000000000~4
App Item ID:           497799835
App External ID:       810788292
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [3408]
User ID:               501

Date/Time:             2015-01-30 12:26:14.681 +0500
OS Version:            Mac OS X 10.10 (14A389)
Report Version:        11
Anonymous UUID:        835265AB-3F12-806B-3EAE-821EB008717D


Time Awake Since Boot: 3800 seconds

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

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

Application Specific Information:
ProductBuildVersion: 6A2008a
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilder/IDEInterfaceBuilder-6254/InterfaceBuilderKit/Utilities/IBAbstractMessageChannelInterfaceBuilderToolProxy.m:40
Details:  Failed to compute auto layout status IBLayoutConstraint, IBUILabel, IBUITableViewCell, and IBUITableViewCellContentView.

Encountered an error communicating with Interface Builder Cocoa Touch Tool. If you choose to file a crash report or Radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.

Exception name: IBAssertionFailure
Exception reason: ASSERTION FAILURE: containingTableView
Reason:     Any table view cell being added to a layout engine should be contained in a table view in order to get the correct metrics
File:       /SourceCache/IBSimulatorComponents/IDEInterfaceBuilderCocoaTouch-6247/SimulatorComponents/IBCocoaTouchTool/WidgetIntegration/IBCTTUITableViewCellIntegration.m:227
Method:     -[UITableViewCell(IBCocoaTouchToolIntegration) ibEffectiveViewToPlaceInLayoutEngineWindow]
Exception backtrace: 
  0. CoreFoundation           0x000000010a6baf1d __exceptionPreprocess
  1. libobjc.A.dylib          0x00000001093a1bb7 objc_exception_throw
  2. CoreFoundation           0x000000010a6bab79 -[NSException raise]
  3. ???                      0x0000000106e94e73 [UITableViewCell ibEffectiveViewToPlaceInLayoutEngineWindow]
  4. ???                      0x0000000106e9bc88 [UIView ibWindowForUpdatingConstraints:]
  5. ???                      0x0000000106e909db [NSObject ibPlaceInWindowPositioningAndSizingIfNeeded:during:]
  6. ???                      0x0000000106e9caae [UIView ibPlaceInWindowPositioningAndSizingIfNeeded:during:]
  7. ???                      0x0000000106e7b697 [IBCocoaTouchToolArbitrationUnit _ensureRootObjectIsInWindowDuring:]
  8. ???                      0x0000000106e7ba60 [IBCocoaTouchToolArbitrationUnit computeStatusFromEngine:]
  9. IBAutolayoutFoundation   0x0000000108a4f82b -[IBAutolayoutArbitrationUnit computeStatus]
 10. ???                      0x0000000106e797a5 [IBCocoaTouchTool computeAutolayoutStatusForRequest:document:]
 11. IBFoundation             0x0000000108bc18ef __80-[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:context:result:]_block_invoke
 12. IBFoundation             0x0000000108bc1686 -[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:context:result:]
 13. IBFoundation             0x0000000108bc1350 __88-[IBMessageReceiveChannel runBlockingReceiveLoopNotifyingQueue:notifyingTarget:context:]_block_invoke
 14. libdispatch.dylib        0x000000010dcb6af4 _dispatch_client_callout
 15. libdispatch.dylib        0x000000010dca3e95 _dispatch_barrier_sync_f_slow_invoke
 16. libdispatch.dylib        0x000000010dcb6af4 _dispatch_client_callout
 17. libdispatch.dylib        0x000000010dca2265 _dispatch_main_queue_callback_4CF
 18. CoreFoundation           0x000000010a622fe9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
 19. CoreFoundation           0x000000010a5e5eeb __CFRunLoopRun
 20. CoreFoundation           0x000000010a5e5486 CFRunLoopRunSpecific
 21. Foundation               0x0000000108f5eb42 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
 22. IBFoundation             0x0000000108ba0955 -[IBAbstractPlatformTool startServingReceiveChannel:]
 23. IBFoundation             0x0000000108ba0a2f -[IBAbstractPlatformTool startServingSocket:]
 24. IBFoundation             0x0000000108ba0cf2 +[IBAbstractPlatformTool main]
 25. ???                      0x0000000106eabe90 [IBViewRenderer .cxx_destruct]
 26. libdyld.dylib            0x000000010dce7145 start

Storyboard文件中有錯誤,我只是從Finder中刪除Main.Storyboard文件,然后打開Xcode。 Xcode比正常運行。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM