Closed TomasWell closed 2 years ago
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIColor cyl_systemGrayColor]: unrecognized selector sent to class 0x1f0da7f60' First throw call stack: (0x180f29cac 0x197f99758 0x180ff9618 0x180ec3edc 0x180ec314c 0x102f0edb4 0x102f0f184 0x102f1163c 0x18337ad70 0x1849e4c4c 0x1849d7d40 0x1849eb4a4 0x1849f408c 0x183537b8c 0x180f04cf8 0x180f05acc 0x180ea2a2c 0x180eb5d8c 0x19afc39a0 0x1836eb018 0x18347f29c 0x102e5ab94 0x103844190) 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: '+[UIColor cyl_systemGrayColor]: unrecognized selector sent to class 0x1f0da7f60' terminating with uncaught exception of type NSException
Version:pod 'CYLTabBarController/Lottie', '1.29.2' Language of App :OC iOS System Version:iOS15.0.1 Prototype(是否是真机):YES Issue Type:Bug
@TomasWell
A possibility:
If this is part of a static library, you need to add -all_load
to the Other Linker Flags build setting for the app linking against the library.
Version:pod 'CYLTabBarController/Lottie', '1.29.2' Language of App :OC iOS System Version:iOS15.0.1 Prototype(是否是真机):YES Issue Type:Bug
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIColor cyl_systemGrayColor]: unrecognized selector sent to class 0x1f0da7f60' First throw call stack: (0x180f29cac 0x197f99758 0x180ff9618 0x180ec3edc 0x180ec314c 0x102f0edb4 0x102f0f184 0x102f1163c 0x18337ad70 0x1849e4c4c 0x1849d7d40 0x1849eb4a4 0x1849f408c 0x183537b8c 0x180f04cf8 0x180f05acc 0x180ea2a2c 0x180eb5d8c 0x19afc39a0 0x1836eb018 0x18347f29c 0x102e5ab94 0x103844190) 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: '+[UIColor cyl_systemGrayColor]: unrecognized selector sent to class 0x1f0da7f60' terminating with uncaught exception of type NSException
Base Info for this issue
1. How to reproduce the problem.
2. Please help me in this way.
3. Here is a Demo.
4. Here is my Debug log