cordova - ios-sim stopped working "NSCFString containsString" error -


i'm using ionic build hybrid mobile app. i've had no trouble launching emulator via "ionic emulate ios" command. of sudden command started throwing errors.

i've tried removing adding ios platform, uninstalling re-installing ios-sim, still same error message below. appreciated, thanks

2015-06-13 14:06:20.198 ios-sim[12997:507] -[__nscfstring containsstring:]: unrecognized selector sent instance 0x7f98e06006e0  2015-06-13 14:06:20.200 ios-sim[12997:507] *** terminating app due uncaught exception 'nsinvalidargumentexception', reason: '-[__nscfstring containsstring:]: unrecognized selector sent 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 uncaught exception of type nsexception

what version of ios-sim using? (run ios-sim --version find out.)

the containsstring crash on mavericks caused this bug, exists in v3.2.0 (see here).

if downgrade v3.1.1, or upgrade v4.1.1, ios-sim should work fine on mavericks.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -