我在模拟器3.1.3版本上测试我的应用程序,运行正常.当它来到模拟器3.2或4.0时,它从一开始就崩溃了:
2010-09-28 18:36:39.957 Angeloni[23268:207] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'This coder requires that replaced objects be returned from initWithCoder:'
*** Call stack at first throw:
(
0 CoreFoundation 0x0268cb99 __exceptionPreprocess + 185
1 libobjc.A.dylib 0x027dc40e objc_exception_throw + 47
2 CoreFoundation 0x02645238 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x026451aa +[NSException raise:format:] + 58
4 UIKit 0x005d03fa UINibDecoderDecodeObjectForValue + 2384
5 UIKit 0x005d1179 -[UINibDecoder decodeObjectForKey:] + 398
6 UIKit 0x004f6d77 -[UIRuntimeConnection initWithCoder:] + 212
7 UIKit 0x005d04ca UINibDecoderDecodeObjectForValue …Run Code Online (Sandbox Code Playgroud)