Ios Cordova模拟器在Mac OS 10.9.5上出现故障
我刚刚升级到MacOS10.9.5和Cordova3.6.3 软件操作系统X 10.9.5(13F34) 现在,科尔多瓦模拟器每次都失败Ios Cordova模拟器在Mac OS 10.9.5上出现故障,ios,macos,cordova,Ios,Macos,Cordova,我刚刚升级到MacOS10.9.5和Cordova3.6.3 软件操作系统X 10.9.5(13F34) 现在,科尔多瓦模拟器每次都失败 2014-10-07 10:48:13.930 ios-sim[15234:507] stderrPath: /Users/localuser/project/cordova/hello/platforms/ios/cordova/console.log 2014-10-07 10:48:13.931 ios-sim[15234:507] stdoutPath
2014-10-07 10:48:13.930 ios-sim[15234:507] stderrPath: /Users/localuser/project/cordova/hello/platforms/ios/cordova/console.log
2014-10-07 10:48:13.931 ios-sim[15234:507] stdoutPath: /Users/localuser/project/cordova/hello/platforms/ios/cordova/console.log
2014-10-07 10:48:13.958 ios-sim[15234:507] -[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fa3d97005e0
2014-10-07 10:48:13.959 ios-sim[15234:507] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fa3d97005e0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8308525c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff83df7e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8308812d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff82fe3272 ___forwarding___ + 1010
4 CoreFoundation 0x00007fff82fe2df8 _CF_forwarding_prep_0 + 120
5 ios-sim 0x0000000102e19e29 -[iPhoneSimulator LoadSimulatorFramework:] + 245
6 ios-sim 0x0000000102e1b8e0 -[iPhoneSimulator runWithArgc:argv:] + 2271
7 ios-sim 0x0000000102e1bcb2 main + 101
8 ios-sim 0x0000000102e19ce4 start + 52
)
libc++abi.dylib: terminating with uncaught exception of type NSException
/Users/localuser/project/cordova/hello/platforms/ios/cordova/run: line 158: 15234 Abort trap: 6 (core dumped) ios-sim launch "$SIMULATOR_APP_PATH" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" $TARGET_FLAG --exit
Error: /Users/localuser/project/cordova/hello/platforms/ios/cordova/run: Command failed with exit code 134
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
要使用Cordova 3.6.3+模拟iOS,您需要将iOS sim更新为3版是否已更新为xcode6?你也更新到ios-sim3了吗?没错。将ios sim升级到3.0.0后,问题解决了!谢谢
2014-10-07 10:48:13.930 ios-sim[15234:507] stderrPath: /Users/localuser/project/cordova/hello/platforms/ios/cordova/console.log
2014-10-07 10:48:13.931 ios-sim[15234:507] stdoutPath: /Users/localuser/project/cordova/hello/platforms/ios/cordova/console.log
2014-10-07 10:48:13.958 ios-sim[15234:507] -[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fa3d97005e0
2014-10-07 10:48:13.959 ios-sim[15234:507] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fa3d97005e0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8308525c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff83df7e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8308812d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff82fe3272 ___forwarding___ + 1010
4 CoreFoundation 0x00007fff82fe2df8 _CF_forwarding_prep_0 + 120
5 ios-sim 0x0000000102e19e29 -[iPhoneSimulator LoadSimulatorFramework:] + 245
6 ios-sim 0x0000000102e1b8e0 -[iPhoneSimulator runWithArgc:argv:] + 2271
7 ios-sim 0x0000000102e1bcb2 main + 101
8 ios-sim 0x0000000102e19ce4 start + 52
)
libc++abi.dylib: terminating with uncaught exception of type NSException
/Users/localuser/project/cordova/hello/platforms/ios/cordova/run: line 158: 15234 Abort trap: 6 (core dumped) ios-sim launch "$SIMULATOR_APP_PATH" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" $TARGET_FLAG --exit
Error: /Users/localuser/project/cordova/hello/platforms/ios/cordova/run: Command failed with exit code 134
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)