ChenYilong / CYLTabBarController

[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】
MIT License
6.9k stars 1.45k forks source link

[bug]: #576

Closed TomasWell closed 2 years ago

TomasWell commented 2 years ago

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 commented 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

TomasWell commented 2 years ago

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

ChenYilong commented 2 years ago

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