Unable to run on iphone 6 simulator after update to OS X Yosemite 10.10 and IOS8


#1

Getting error when i try “ionic emulate ios”

My Macbook Configuration:

Recently updated to 10.10 OSX

2014-10-31 17:29:48.372 ios-sim[24160:137091] stderrPath: /Users/sudheergolla/JPMC/NewIonic/myNewApp/platforms/ios/cordova/console.log
2014-10-31 17:29:48.373 ios-sim[24160:137091] stdoutPath: /Users/sudheergolla/JPMC/NewIonic/myNewApp/platforms/ios/cordova/console.log
2014-10-31 17:29:48.460 ios-sim[24160:137091] -[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fbd8a7008d0
2014-10-31 17:29:48.460 ios-sim[24160:137091] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[__NSArrayM localizedDescription]: unrecognized selector sent to instance 0x7fbd8a7008d0’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff928c364c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8e2376de objc_exception_throw + 43
2 CoreFoundation 0x00007fff928c66bd -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff9280da84 forwarding + 1028
4 CoreFoundation 0x00007fff9280d5f8 _CF_forwarding_prep_0 + 120
5 ios-sim 0x0000000105020eaf -[iPhoneSimulator LoadSimulatorFramework:] + 245
6 ios-sim 0x0000000105022a03 -[iPhoneSimulator runWithArgc:argv:] + 2424
7 ios-sim 0x0000000105022c9f main + 111
8 ios-sim 0x0000000105020d70 start + 52
9 ??? 0x000000000000000b 0x0 + 11
)
libc++abi.dylib: terminating with uncaught exception of type NSException
/Users/sudheergolla/JPMC/NewIonic/myNewApp/platforms/ios/cordova/run: line 158: 24160 Abort trap: 6 ios-sim launch “$SIMULATOR_APP_PATH” --stderr “$CORDOVA_PATH/console.log” --stdout “$CORDOVA_PATH/console.log” $TARGET_FLAG --exit
Error: /Users/sudheergolla/JPMC/NewIonic/myNewApp/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.emit (events.js:98:17)
at maybeClose (child_process.js:755:16)
at Process.ChildProcess._handle.onexit (child_process.js:822:5)
ERROR: Unable to emulate app on platform ios. Please see console for more info.
Exiting.


#2

try to update your nodejs and all your packages.

And look if u installed the new xcode and the new command line tool.


#3

Updated nodejs, Xcode, CLI and all packages.

npm --version
1.5.0-alpha-1
cordova --version
4.0.0
XCode6

Still getting same error?