我用cocos code ide 建了一个项目,写了一些代码,然后用run mac,android,h5上都用跑,
但ios却不能跑。。(装了xcode,5.1.1 ,与 xcode Version 6.0.1)
log显示如下。。
2014-10-20 13:57:22.882 ios-sim -: unrecognized selector sent to instance 0x7fddd38007c0
2014-10-20 13:57:22.883 ios-sim *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-: unrecognized selector sent to instance 0x7fddd38007c0’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff88cfc25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8858fe75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff88cff12d - + 205
3 CoreFoundation 0x00007fff88c5a272 forwarding + 1010
4 CoreFoundation 0x00007fff88c59df8 _CF_forwarding_prep_0 + 120
5 ios-sim 0x0000000100923e29 - + 245
6 ios-sim 0x00000001009258e0 - + 2271
7 ios-sim 0x0000000100925cb2 main + 101
8 ios-sim 0x0000000100923ce4 start + 52
)
libc++abi.dylib: terminating with uncaught exception of type NSException
这是为什么呢。。ios要做什么特殊操作处理吗?