My project is a react-native
project.
Crash information as below:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[TUICandidateView collectionView:didSelectItemAtIndexPath:]: unrecognized selector sent to instance 0x1056236f0'*** First throw call stack:(0x1975f3ab0 0x19730d028 0x1974f1f10 0x19b708a80 0x1975f8254 0x1975fa3f0 0x19af06fbc 0x19af2f288 0x19b70728c 0x19b707388 0x19b70728c 0x19b707388 0x19b7159c0 0x19b716cb0 0x19b6f26d8 0x19b76cd2c 0x19b76f2e4 0x19b768468 0x19756f24c 0x19756f1a0 0x19756e90c 0x1975697d8 0x197569084 0x1a17b7534 0x19b6d9698 0x102f2b0dc 0x1973e8e18)libc++abi.dylib: terminating with uncaught exception of type NSException
react-native version: 0.55.4
Xcode version: 11.3
iOS version: 13
I tried on the simulator and my iPhone devices. both are crashed.
I have searched for much-related information about
TUICandidateView
on google, but it gives me nothing.
If you have any information about it. please let me know.
Thanks in advance
Finally, I solved it.
The reason why my app crashed is I add some other sensitive SDK to my project. and It will monitor my code and raise an exception. So I remove the SDK and no more crash.