HDB-Li / LLDebugTool

LLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations.
https://github.com/HDB-Li/LLDebugTool
Other
740 stars 122 forks source link

Xcode 10.2.1 运行时崩溃 #77

Closed z234009184 closed 5 years ago

z234009184 commented 5 years ago

崩溃在了一个分类中,好像布局部分有问题(方法找不到)。

HDB-Li commented 5 years ago

@z234009184 Hi, Is this error in NSObject+LL_Hierarchy.h at line 1236?

If yes, you can fix it by fork it, or waiting for next release version. I will release a new version this afternoon.

If not this line, you can provide a more informations.

#ifdef __IPHONE_13_0
                if (@available(iOS 13.0, *)) {
                    weakSelf.activityIndicatorViewStyle = index + (UIActivityIndicatorViewStyleMedium - UIActivityIndicatorViewStyleGray - 1);
                }
#endif
z234009184 commented 5 years ago

@HDB-Li Hi, Thank you for your reply

Yes, I have solved this problem manually, but this is a compilation problem. There is also a runtime crash problem. The error reporting "unrecognized selector sent to instance". Now I have reduced the version to 1.2.2

HDB-Li commented 5 years ago

@z234009184 Could you provider more infomations about There is also a runtime crash problem when you have a rest time. My XCode is 11.2 now, so if you can provider more infomations, I will try to find it's a low XCode version crash or a runtime bug in my new Debugtool version.

HDB-Li commented 5 years ago

@z234009184 Try version 1.3.5, I just release it. If you still have any questions, feel free to contact me.

z234009184 commented 5 years ago

@HDB-Li Errors are still reported in version 1.3.5. The error information is as follows: file: UIView+LLWidgetBorder.m line: 41 [self LL_layoutSubviews]; crash info: -[UINavigationBar _applyConstrainedContentSizeIfNecessary]: unrecognized selector sent to instance 0x105015740

image

HDB-Li commented 5 years ago

@z234009184 So bad. I will try to find the reason.

: (

HDB-Li commented 5 years ago

@z234009184 Fix in version 1.3.6

z234009184 commented 5 years ago

WOW! It's worked. Thanks so much !! The new version brings a lot of powerful features, it's too awesome!!