无法在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的前叉.现在它不再是测试版,它不是主题. :]

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...