无法在Yosemite上启动ios-sim

前端之家收集整理的这篇文章主要介绍了无法在Yosemite上启动ios-sim前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我一直无法让ios-sim开始使用相对干净的Yosemite,Xcode 6 beta和Developer Tools 10.10.
MacOS $ios-sim start
2014-06-10 20:34:39.578 ios-sim[4957:836370] -[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fbc18f00380
2014-06-10 20:34:39.579 ios-sim[4957:836370] *** Terminating app due to uncaught exception 'NSInvalidArgumentException',reason: '-[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fbc18f00380'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff8e4e914c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff9108257d objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8e4ec07d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    3   CoreFoundation                      0x00007fff8e435604 ___forwarding___ + 1028
    4   CoreFoundation                      0x00007fff8e435178 _CF_forwarding_prep_0 + 120
    5   ios-sim                             0x0000000103e166cd -[iPhoneSimulator LoadSimulatorFramework:] + 245
    6   ios-sim                             0x0000000103e18233 -[iPhoneSimulator runWithArgc:argv:] + 2317
    7   ios-sim                             0x0000000103e185f5 main + 101
    8   ios-sim                             0x0000000103e16588 start + 52
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6

解决方法

更新ios-sim可以解决问题. https://github.com/phonegap/ios-sim无需使用robovm的前叉.现在它不再是测试版,它不是主题. :]

猜你在找的iOS相关文章