The "phonegap run ios" command throws an error after updating xcode to version 6.0.1 on the telephone table 3.5.0-0.21.17

Despite the fact that the assembly was successful, I see the following error when I execute the command to start a phone call

2014-09-23 16:44:47.925 ios-sim[6274:507] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7f9ac3c13d50'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff8b51b25c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8b213e75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8b51e12d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff8b479272 ___forwarding___ + 1010
4 CoreFoundation 0x00007fff8b478df8 _CF_forwarding_prep_0 + 120
5 ios-sim 0x000000010fdb7e29 -[iPhoneSimulator LoadSimulatorFramework:] + 245
6 ios-sim 0x000000010fdb98e0 -[iPhoneSimulator runWithArgc:argv:] + 2271
7 ios-sim 0x000000010fdb9cb2 main + 101
8 ios-sim 0x000000010fdb7ce4 start + 52
9 ??? 0x000000000000000b 0x0 + 11
)
libc++abi.dylib: terminating with uncaught exception of type NSException
/Users/MyName/Sites/phonegap/helloworld/platforms/ios/cordova/run: line 158: 6274 Abort trap: 6 ios-sim launch "$SIMULATOR_APP_PATH" --stderr "$CORDOVA_PATH/console.log" --stdout "$CORDOVA_PATH/console.log" $TARGET_FLAG --exit

Did anyone help?

+4
source share
2 answers

You need to update ios-sim:

npm install -g ios-sim

or

sudo npm install -g ios-sim
+2
source

ios-sim 3.0.0 is required for Xcode 6+, update ios-sim.

+1
source

All Articles