我一直试图启动我的应用程序,它保持“终止与类型NSException的未捕获的异常”,并将我从模拟器发回到这个xcode屏幕: ![enter image description here] [1]摆脱SIGABRT错误
我看到问题出现在第一个线程中,但我不知道在我的代码或事件路径中对应的位置。
这里是一号线的其他部分包含错误:
调试器这样说:
2013-11-21 18:59:23.330 Bluetooth_RSSI_test[24377:a0b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key set1m.'
这里是我的代码,其中包括set1m(请注意,安勤是属性(非原子,强)的类型NSNumber和已被合成):
in .h file
- (IBAction)set1m:(id)sender;
in .m file
- (IBAction)set1m:(id)sender
{
aValue = RSSIvalue;
self.RSSIat1m.text = [NSString stringWithFormat:@"%@", aValue];
}
我认为你必须给出更详细的解释 – hamobi
在调用堆栈视图的底部有一个滑块。将它移动到最右侧以展开您的线索列表。这会告诉你11和0之间的电话。 –
从你的日志中复制异常请...通常会告诉你一个更好的地方开始 – logixologist