【发布时间】:2011-01-31 09:24:40
【问题描述】:
我已经构建了一个在 iPhone 模拟器中完美运行的通用应用程序。但应用程序在 iPad 模拟器中崩溃。执行不会进入 iPad 本身的 AppDelegate。当应用程序在 iPad 中编译时,它会抛出错误:
2011-01-31 14:52:51.330 MassStorage[1751:207] *** -[NSCFArray sortedArrayUsingComparator:]: unrecognized selector sent to instance 0x680fbe0
2011-01-31 14:52:51.335 MassStorage[1751:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArraysortedArrayUsingComparator:]: unrecognized selector sent to instance 0x680fbe0'
2011-01-31 14:52:51.336 MassStorage[1751:207] Stack: (
45590608,
46748460,
45599323,
45061750,
45058546,
26736,
21965,
3682181,
3675039,
3735534,
3731264,
3739449,
3714977,
5049482,
41527574,
41526821,
41470418,
41469746,
3069270,
3095870,
3077367,
3109336,
54583676,
44869788,
44865704,
3068449,
3101554,
55758,
10521
)
terminate called after throwing an instance of 'NSException'
谁能帮帮我???谢谢。。
【问题讨论】: