2014-06-11 15 views
7

Non sono riuscito a far avviare ios-sim su un sistema relativamente pulito di Yosemite, Xcode 6 beta e Developer Tools 10.10.Impossibile avviare ios-sim su Yosemite

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 
+2

Questa domanda sembra essere off-topic perché riguarda il supporto del software beta –

+0

StackOverflow non consente domande sul software beta (qualunque versione beta significhi davvero più)? – pbreitenbach

+0

Abbastanza giusto. Apparentemente è perché l'attuale versione di ios-sim non è compatibile con Xcode6/DevTools. Una correzione è stata pubblicata su GitHub su robovm/ios-sim. – pbreitenbach

risposta

8

Aggiornamento ios-sim fa il trucco. https://github.com/phonegap/ios-sim Non è necessario utilizzare la forcella di Robovm. E ora che non è più beta, non è fuori tema. :]

+0

Grazie. Ha risolto il problema che avevo con l'ultimo XCode e l'ultima Cordova! –