Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: #576

Closed
TomasWell opened this issue Oct 27, 2021 · 3 comments
Closed

[bug]: #576

TomasWell opened this issue Oct 27, 2021 · 3 comments
Assignees
Labels

Comments

@TomasWell
Copy link

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. Version:Latest Version as here
  2. Language of App :Objective-C/Swift
  3. iOS System Version:iOS12
  4. Prototype(是否是真机):YES
  5. Issue Type:Crash、Bug、Enhancement(希望能支持一个新需求)、Q-A

1. How to reproduce the problem.

2. Please help me in this way.

3. Here is a Demo.

4. Here is my Debug log


@TomasWell
Copy link
Author

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

@TomasWell
Copy link
Author

Version:pod 'CYLTabBarController/Lottie', '1.29.2'
Language of App :OC
iOS System Version:iOS15.0.1
Prototype(是否是真机):YES
Issue Type:Bug

@ChenYilong
Copy link
Owner

ChenYilong commented Nov 4, 2021

@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.

@ChenYilong ChenYilong added Q-A and removed bug labels Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants