ios 12 iphonexs max : -[UILabel _startMarquee] crash

nearly, there are too many crashes on ios 12 with iphonexs max, the crash information is : -[UILabel _startMarquee].

Replies

Is it a question, or just your expression of bad humor ?


What do you expect anyone to do with such a message ? Either you are looking for help, then you should provide detailed information about the crash (may be due to your code) or you are not looking for any help, in this case the message is irrelevant.

[CAGradientLayer _clearContents]: unrecognized selector sent to instance 0x2815c31a0


CoreFoundation___exceptionPreprocess + 232
1 libobjc.A.dylibobjc_exception_throw + 60
2 CoreFoundation-[NSOrderedSet initWithSet:copyItems:]
3 CoreFoundation____forwarding___ + 1412
4 CoreFoundation_CF_forwarding_prep_0 + 96
5 UIKitCore-[UILabel _startMarquee] + 3332
6 libdispatch.dylib__dispatch_call_block_and_release + 32
7 libdispatch.dylib__dispatch_client_callout + 20
8 libdispatch.dylib_dispatch_main_queue_callback_4CF + 1012
9 CoreFoundation___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
10 CoreFoundation___CFRunLoopRun + 1888
11 CoreFoundationCFRunLoopRunSpecific + 452
12 GraphicsServicesGSEventRunModal + 108
13 UIKitCoreUIApplicationMain + 216
14 金囿main (main.m:14)
15 libdyld.dylib_start + 4


and it happpened only iphonexs max,and it always happened when the app go back from background to foreground ,could you help me, thanks

[CAGradientLayer _clearContents]: unrecognized selector sent to instance 0x2815c31a0


CoreFoundation___exceptionPreprocess + 232
1 libobjc.A.dylibobjc_exception_throw + 60
2 CoreFoundation-[NSOrderedSet initWithSet:copyItems:]
3 CoreFoundation____forwarding___ + 1412
4 CoreFoundation_CF_forwarding_prep_0 + 96
5 UIKitCore-[UILabel _startMarquee] + 3332
6 libdispatch.dylib__dispatch_call_block_and_release + 32
7 libdispatch.dylib__dispatch_client_callout + 20
8 libdispatch.dylib_dispatch_main_queue_callback_4CF + 1012
9 CoreFoundation___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
10 CoreFoundation___CFRunLoopRun + 1888
11 CoreFoundationCFRunLoopRunSpecific + 452
12 GraphicsServicesGSEventRunModal + 108
13 UIKitCoreUIApplicationMain + 216
14 金囿main (main.m:14)
15 libdyld.dylib_start + 4


and it happpened only iphonexs max,and it always happened when the app go back from background to foreground ,could you help me, thanks

Could you show the code that causes the crash ?


Do you use published code in 2015 ?

open class MarqueeLabel: UILabel, CAAnimationDelegate { }

I did not find the class MarqueeLabel , the crash only happened on iphonexs max and go back from background to foreground . startMarquee is private method of UILabel. Is it other reason cause the crash, such as the using of CAGradientLayer , thanks.

I have the sam problem, I think it's not caused by the CAGradientLayer Class. now i have not found a solution

I problem comes from private method, you should probably use a DTS ticket to ask from help from Apple Support directly.

It only happened on iphonexs max , is it the same to you ?

OK, I will try, thank you very much !!

Hello, have you found the reason and solution?

Hello, have you found the reason and solution?

check all category, if have this method +(class)layerClass { [CAGradientLayer class]} ,you need remove it.because all view.layer will change CAGradientLayer

Hello, have you found the reason and solution to fix iphone xs max crash?

Hello, have you found the reason and solution to fix iphone xs max crash?