Previously I’ve had no trouble launching the emulator via “ionic emulate ios” command. But all of a sudden the command started throwing errors.
I’ve tried removing then adding back the ios platform, uninstalling then re-installing ios-sim, updating node, but still get the same error message below. Any help would be much appreciated, thanks:
2015-06-13 14:06:20.198 ios-sim[12997:507] -[__NSCFString containsString:]: unrecognized selector sent to instance 0x7f98e06006e0
2015-06-13 14:06:20.200 ios-sim[12997:507] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString containsString:]: unrecognized selector sent to instance 0x7f98e06006e0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff9303925c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff9058ee75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff9303c12d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00007fff92f97272 ___forwarding___ + 1010
4 CoreFoundation 0x00007fff92f96df8 _CF_forwarding_prep_0 + 120
5 ios-sim 0x0000000107511534 -[iPhoneSimulator runWithArgc:argv:] + 1313
6 ios-sim 0x0000000107511e79 main + 101
7 ios-sim 0x000000010750f0e0 start + 52
8 ??? 0x000000000000000a 0x0 + 10
)
libc++abi.dylib: terminating with uncaught exception of type NSException