问题一
2015-12-10 22:04:57.085 XibProblems[5739:263647] *** Assertion failure in -[UITableView _dequeueReusableViewOfType:withIdentifier:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3505.16/UITableView.m:6513
2015-12-10 22:04:57.151 XibProblems[5739:263647] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'invalid nib registered for identifier (FirstTableViewCell) - nib must contain exactly one top level object which must be a UITableViewCell instance'
**可能是UITableViewCell的Xib文件存在同一级别的Cell
问题二
2015-12-10 22:06:14.353 XibProblems[5749:264585] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key label.'
*** First throw call stack:
这个情况产生的情况之一就是所连得"线"segue, 连接了错误
问题三
2015-12-10 22:07:37.550 XibProblems[5753:265360] -[__NSCFNumber length]: unrecognized selector sent to instance 0xb000000000000012
这个问题我是挺不理解的, 是吧NSNumber写入到了UILabel.text里面, 有时候model里面设置的明明是NSString, 赋值的时候还是会变成NSNumber, 很奇怪
问题四
2015-12-10 22:10:06.378 XibProblems[5758:266581] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'Push segues can only be used when the source controller is managed by an instance of UINavigationController.'
*** First throw call stack:
这个问题是对于没有navigationController的VC使用了push操作, 把它加上这个, 或者使用模态吧
问题五
2015-12-10 22:11:30.839 XibProblems[5762:267484] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9802)
2015-12-10 22:11:30.864 XibProblems[5762:267402] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'data parameter is nil'
*** First throw call stack:
这次是没有对数据解析的判断
如果data存在的话, 才要对它进行解析
网友评论