【问题标题】:XCODE keeps crashing. Deals with auto layoutXCODE 不断崩溃。处理自动布局
【发布时间】:2013-10-05 20:20:51
【问题描述】:

我点击关闭自动布局。现在我单击复选框将其打开,xcode 立即崩溃..每次。我很确定所有的表格视图都有一个数据源。我不能在这个项目上工作!请帮忙。

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

【问题讨论】:

    标签: uitableview crash osx-mountain-lion autolayout xcode5


    【解决方案1】:

    我刚遇到这个问题,删除所有 文件所有者的 OutletsReference Outlets 就可以解决问题。

    注意:首先,由于我无法以图形方式关闭自动布局,因为 Xcode 仅通过尝试查看 .xib 就崩溃了,我设法按照@987654321 进行操作@

    【讨论】:

      【解决方案2】:

      我可以通过删除从 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ 到 /Users/xxx/Library 的 符号链接 来解决此问题/开发人员/Xcode/iOS 设备支持。我希望这会有所帮助。

      【讨论】:

      • 我该怎么做?
      • 您是否在 /Users/xxx/Library/Developer/Xcode/iOS DeviceSupport 或任何其他位置创建了符号链接?如果是,只需删除符号链接文件/文件夹并重新构建,如果不是,此解决方案将不适合您。
      • 我没有手动添加任何符号链接,不确定它是否会自动添加,或者我所做的某些事情可能导致了它们?在 iOS DeviceSupport 文件夹中,我还有其他文件夹,如 5.0 和 5.1.1.... 会在那里吗?为什么这不是很多其他开发人员遇到的问题?
      【解决方案3】:

      我刚刚重新制作了一个完整的 viewController,它现在可以工作了。没有真正回答问题。我认为这只是一个小故障

      【讨论】:

        猜你喜欢
        • 2019-11-29
        • 1970-01-01
        • 1970-01-01
        • 2013-10-03
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-11-17
        • 1970-01-01
        相关资源
        最近更新 更多