【发布时间】:2018-09-06 16:16:56
【问题描述】:
当我在 IOS10.3.3 上启动我的应用程序时,我遇到了一个非常棘手的问题。确实,我在 splashviewController 中遇到了这个错误:
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
// [[EMAnalyticsManager sharedInstance]sendScreenViewWithName:SplashScreen];
}
我收到了这条崩溃消息:
[__NSCFString nsli_lowerAttribute:intoExpression:withCoefficient:forConstraint:]: unrecognized selector sent to instance 0x165e3630
2018-09-06 16:57:31.456059+0100 **********[2461:1072580] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString nsli_lowerAttribute:intoExpression:withCoefficient:forConstraint:]: unrecognized selector sent to instance 0x165e3630'
我做了很多研究来了解这次在 IOS11 中没有发生的崩溃的原因。
有什么帮助吗??
【问题讨论】:
-
设置异常断点,再次运行,并将异常发生位置的代码添加到这个问题中......stackoverflow.com/a/17802723/294949
标签: objective-c xcode crash