Terminating app due to uncaught exception 'NSInvalidArgumentException'

2024-03-18 15:13:19.549232+0800 Xeena[5316:4106501] -[__NSCFString containsObject:]: unrecognized selector sent to instance 0x6000014393e0 2024-03-18 15:13:19.599811+0800 Xeena[5316:4106501] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString containsObject:]: unrecognized selector sent to instance 0x6000014393e0' *** First throw call stack: ( 0 CoreFoundation 0x0000000118e168ab __exceptionPreprocess + 242 1 libobjc.A.dylib 0x000000010f06eba3 objc_exception_throw + 48 2 CoreFoundation 0x0000000118e25ab8 +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0 3 CoreFoundation 0x0000000118e1ad71 forwarding + 1431 4 CoreFoundation 0x0000000118e1d068 _CF_forwarding_prep_0 + 120 5 UIKitCore 0x0000000129c9b3b7 -[UIApplication _checkBackgroundRefreshAPIAdoption] + 169 6 UIKitCore 0x0000000129c7520e -[UIApplication _runWithMainScene:transitionContext:completion:] + 1023 7 UIKitCore 0x00000001290a18e5 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 179 8 UIKitCore 0x0000000129c716e4 -[UIApplication _compellApplicationLaunchToCompleteUnconditionally] + 59 9 UIKitCore 0x0000000129c71aaf -[UIApplication _run] + 958 10 UIKitCore 0x0000000129c769ef UIApplicationMain + 123 11 Xeena 0x0000000102a8b350 main + 96 12 dyld 0x000000010e7bf2bf start_sim + 10 13 ??? 0x000000020640f41f 0x0 + 8694854687 ) libc++abi: terminating with uncaught exception of type NSException

It's a crash log. react native projects crash on emulators after running locally, but on android machines there is no problem

Please post a full crash report, per the advice in Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Terminating app due to uncaught exception 'NSInvalidArgumentException'
 
 
Q