我点击关闭自动布局。现在我单击复选框将其打开,xcode立即崩溃。每次都。我很确定所有的tableviews都有一个数据源。我不能在这个项目上工作!请帮忙。
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
答案 0 :(得分:1)
我能够通过从/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/删除符号链接到/ Users / xxx / Library来解决此问题/ Developer / Xcode / iOS DeviceSupport。我希望这会有所帮助。
答案 1 :(得分:1)
我刚遇到这个问题并删除所有文件所有者的 奥特莱斯和引用奥特莱斯就可以了。
注意:首先,因为我无法以图形方式关闭autoLayout,因为Xcode只是通过尝试查看 .xib 而崩溃,我设法按照{{{ 3}}
答案 2 :(得分:0)
我只是重新制作了一个完整的viewController,它现在可以正常工作了。没有真正回答这个问题。我认为这只是一个小故障