Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/mobile/Applications/C8CF9D6E-4B29-416B-8973-A6F18C0CE691/.app> (loaded)' with name 'BGCinemaScheduleCell''
*** First throw call stack:
(0x32d812a3 0x3aa2697f 0x32d811c5 0x34d26571 0x34d2e2b7 0x137e4d 0x13833f 0x1383fd 0x1b6b97 0x34dffdef 0x17218b 0x34bd454d 0x34bb9313 0x34bd07cf 0x34b8c803 0x34936d8b 0x34936929 0x3493785d 0x34937243 0x34937051 0x34936eb1 0x32d566cd 0x32d549c1 0x32d54d17 0x32cc7ebd 0x32cc7d49 0x3688b2eb 0x34bdd301 0xa1385 0x3ae5db20)
libc++abi.dylib: terminate called throwing an exception
好的,确实有一个名为 BGCinemaScheduleCell 的实际 XIB
我在这里遇到了这个错误:
-(void) vLoadMainBundle
{
if ([self class] == [BGBaseTableViewCell class])
{
return;
}
NSString * className = NSStringFromClass([self class]);
[[NSBundle mainBundle] loadNibNamed:className owner:self options:nil];
}
我不知道 NSInternalInconsistencyException 是什么意思。className 的值为 loadNibNamed