My application developed in react native works fine in android, but it crashes on iOS:
022-05-21 16:38:24.748682+0530 parkingplace[1949:134115] -[__NSCFString containsObject:]: unrecognized selector sent to instance 0x281911a70
2022-05-21 16:38:24.748911+0530 parkingplace[1949:134115] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString containsObject:]: unrecognized selector sent to instance 0x281911a70'
*** First throw call stack:
(0x190d2d288 0x1a9a27744 0x190e0afc4 0x190cc1e98 0x190cc0f70 0x194078b68 0x193603050 0x193460d34 0x1932bb3b4 0x1933e5d90 0x193505aa0 0x193744764 0x1936cfd14 0x1932bc1a0 0x19337c0d8 0x1932be0a4 0x1933a8244 0x19382ce60 0x1932ec484 0x19332fcc4 0x193465b38 0x1933a6508 0x1a2f37294 0x1a2f5d090 0x1a2f18308 0x1a2f19958 0x1019027c0 0x101906264 0x1a2f19c70 0x1a2f19040 0x1a2f1d700 0x190d4f414 0x190d601a0 0x190c996f8 0x190c9f05c 0x190cb2bc8 0x1acde6374 0x193622648 0x1933a3d90 0x100c90154 0x10171dce4)
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString containsObject:]: unrecognized selector sent to instance 0x281911a70'
terminating with uncaught exception of type NSException
I got a same error (libc++abi: terminating with uncaught exception of type NSException)
and I solved it
Issue was with info.plist file in my case it was a
<key>CFBundleTypeRole</key>
that used twice even though it should be only once and if you need multiple strings in CFBundleTypeRole you can have a <array> </array> tag
Remember that array can only be used when their is more than one items in that otherwise you will get "Asses validation failed" at time of distributing of app on appstore
Hope it will help someone
Related
**LSApplicationQueriesSchemes and is required for iOS 9.0
2022-05-10 14:56:48.547892+0500 PohodlnýOnline Nákupy[48489:3393895] [native] Unable to find module for AccessibilityManager
2022-05-10 14:56:48.567291+0500 PohodlnýOnline Nákupy[48489:3394150] -[RCTCxxBridge devSettings]: unrecognized selector sent to instance 0x13ff14620
2022-05-10 14:56:48.568291+0500 PohodlnýOnline Nákupy[48489:3394150] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCTCxxBridge devSettings]: unrecognized selector sent to instance 0x13ff14620'
*** First throw call stack:
(0x18120b70c 0x198946f04 0x1812dc230 0x1811a4ffc 0x1811a420c 0x102eb4730 0x102eaeb04 0x1044b86fc 0x1044b9fc4 0x1044cc01c 0x1044cc84c 0x1dc267dd4 0x1dc26793c)
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCTCxxBridge devSettings]: unrecognized selector sent to instance 0x13ff14620'
terminating with uncaught exception of type NSException**strong text****
getting this error while build app from xcode
Here is the detailed error description that I am receiving in debugger bar
*** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason:
'-[_NSConcreteBlockSinkObservation superlayer]: unrecognized selector
sent to instance 0x6000005a4000'
Why this is happening and what will be the solution to it?
Update:
I tried to remove some lines of code for testing, then I found another error like below
[__NSDictionaryM superlayer]: unrecognized selector sent to instance
0x6000008e8ee0
I am trying to compile my code in Xcode 9 which was perfectly working in Xcode 8.3, now it crashes on Segue from table view to uiviewcontroller.
This is the error message.
2017-10-11 10:44:36.410414-0500 Dev_TenantMoveIn[307:18597] -[PDFViewController initWithCoder:]: unrecognized selector sent to instance 0x1c80111d0
2017-10-11 10:44:36.412182-0500 Dev_TenantMoveIn[307:18597] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PDFViewController initWithCoder:]: unrecognized selector sent to instance 0x1c80111d0'
*** First throw call stack:
(0x186a0fd38 ........ 0x1863fa56c)
libc++abi.dylib: terminating with uncaught exception of type NSException
Any suggestion would be helpful
Has anyone developed with the libUartLib.a library?
Because I have the following error:
-[CBCentralManager retrieveConnectedPeripherals]: unrecognized selector sent to instance 0x15e868d0
2015-10-02 17:13:29.265 DAPPER[2639:1705276] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CBCentralManager retrieveConnectedPeripherals]: unrecognized selector sent to instance 0x15e868d0'
*** First throw call stack:
(0x27a5186b 0x394bedff 0x27a57035 0x27a54c8f 0x279842b8 0x1018a3 0x27714a55 0x22cdbf 0x22cdab 0x231829 0x27a14595 0x27a12a8f 0x279651e9 0x27964fdd 0x30bc9af9 0x2bbca18d 0x1002b9 0x39be9873)
libc++abi.dylib: terminating with uncaught exception of type NSException
If you refer to the documentation you will that that method was deprecated in iOS 7 and has been removed in iOS 9. The replacement is retrieveConnectedPeripheralsSithServices so you either need an updated version of the library or to update it yourself if the author hasn't done so or to identify an alternative.
My app has many views with lot many forms. When I try to play with my app, clicking and scrolling every where. I do find my app crashes with an EXC_BAD_ACCESS when I try to click on a text field or a text view. I do get the following errors in different crashes:
1. `-[__NSDictionaryM keyboardDidShow:]: unrecognized selector sent to instance 0x16589960
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM keyboardDidShow:]: unrecognized selector sent to instance 0x16589960'`
2. `-[__NSSetM keyboardDidShow:]: unrecognized selector sent to instance 0x15ee3650
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSSetM keyboardDidShow:]: unrecognized selector sent to instance 0x15ee3650'`
3. `-[NSISLinearExpression keyboardDidShow:]: unrecognized selector sent to instance 0x14760360
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSISLinearExpression keyboardDidShow:]: unrecognized selector sent to instance 0x14760360'`
4. `-[__NSCFString keyboardDidShow:]: unrecognized selector sent to instance 0x17e00e10
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString keyboardDidShow:]: unrecognized selector sent to instance 0x17e00e10'`
What could be the source of the crash?