XCODE不断崩溃.自动布局处理 [英] XCODE keeps crashing. Deals with auto layout

查看:158
本文介绍了XCODE不断崩溃.自动布局处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我单击以关闭自动版式.现在,我单击复选框将其打开,并且xcode立即崩溃..每次.我很确定所有表视图都具有数据源.我不能从事这个项目!请帮忙.

I clicked to turn off auto layout. And now I click the check box to turn it on, and xcode immediately crashes..Every time. I'm pretty sure that all tableviews have a datasource. I can't work on the project! Please help.

Process:         Xcode [5748]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         5.0 (3332.25)
App Item ID:     497799835
App External ID: 38302662
Code Type:       X86-64 (Native)
Parent Process:  launchd [144]
User ID:         501

Date/Time:       2013-09-30 00:12:40.236 -0400
OS Version:      Mac OS X 10.8.5 (12F37)
Report Version:  10

Interval Since Last Report:          62599 sec
Crashes Since Last Report:           13
Per-App Interval Since Last Report:  4441 sec
Per-App Crashes Since Last Report:   13


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

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

Application Specific Information:
ProductBuildVersion: 5A1413
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-   3742/IBPlugin/Utilities/IBObjectMarshalling.m:670
Details:  Failed to compute auto layout status IBUIDatePicker, IBUILabel, IBUITableViewCell, and IBUITableViewCellContentView.

Interface Builder encountered an error communicating with the iOS Simulator. 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: NSInternalInconsistencyException
Exception reason: UITableView dataSource is not set

推荐答案

我刚刚遇到了这个问题,并删除了所有文件所有者的 插座参考插座达到了目的.

I just faced this problem and removing all of the File Owner's Outlets and Referencing Outlets did the trick.

注意:首先,由于无法通过图形方式关闭autoLayout,因为Xcode仅通过尝试查看 .xib 便崩溃了,我设法按照 AbuYusuph的建议.

Note: Firstly, as I couldn't turn off autoLayout graphically as Xcode crashed just by trying to view the .xib, I managed to do it following AbuYusuph's suggestion.

这篇关于XCODE不断崩溃.自动布局处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆