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

iOS13弹出UIAlertView时崩溃 #112

Open
ctsihhj opened this issue Dec 4, 2019 · 3 comments
Open

iOS13弹出UIAlertView时崩溃 #112

ctsihhj opened this issue Dec 4, 2019 · 3 comments

Comments

@ctsihhj
Copy link

ctsihhj commented Dec 4, 2019

*** Terminating app due to uncaught exception 'NSObjectNotAvailableException', reason: 'UIAlertView is deprecated and unavailable for UIScene based applications, please use UIAlertController!'
*** First throw call stack:
(
0 CoreFoundation 0x000000010de66bde __exceptionPreprocess + 350
1 libobjc.A.dylib 0x000000010d684b20 objc_exception_throw + 48
2 CoreFoundation 0x000000010de66a1c +[NSException raise:format:] + 188
3 UIKitCore 0x00000001167cd463 -[UIAlertView initWithFrame:] + 417
4 UIKitCore 0x00000001167cdad0 -[UIAlertView initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:] + 218
5 朵朵一家 0x0000000109fe5cf0 +[MLeaksMessenger alertWithTitle:message:delegate:additionalButtonTitle:] + 304
6 朵朵一家 0x0000000109fe4ba9 +[MLeakedObjectProxy addLeakedObject:] + 857
7 朵朵一家 0x0000000109fe6152 -[NSObject(MemoryLeak) assertNotDealloc] + 146
8 朵朵一家 0x0000000109fe609e __35-[NSObject(MemoryLeak) willDealloc]_block_invoke + 46
9 libdispatch.dylib 0x000000010f393d64 _dispatch_client_callout + 8
10 libdispatch.dylib 0x000000010f3966d6 _dispatch_continuation_pop + 552
11 libdispatch.dylib 0x000000010f3a9a8f _dispatch_source_invoke + 2205
12 libdispatch.dylib 0x000000010f3a1c53 _dispatch_main_queue_callback_4CF + 1043
13 CoreFoundation 0x000000010ddc9699 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
14 CoreFoundation 0x000000010ddc42f9 __CFRunLoopRun + 2329
15 CoreFoundation 0x000000010ddc36b6 CFRunLoopRunSpecific + 438
16 GraphicsServices 0x000000011064bbb0 GSEventRunModal + 65
17 UIKitCore 0x0000000117246a67 UIApplicationMain + 1621
18 朵朵一家 0x0000000109e7baad main + 125
19 libdyld.dylib 0x000000010f41bcf5 start + 1
20 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

@wangertie
Copy link

直接把他的alertView给注掉吧,要不就等作者更新SDK

@rakeyang
Copy link

直接把他的alertView给注掉吧,要不就等作者更新SDK

估计难,上次提交都是2017年了,提个MR试试

IOS-Wheeler pushed a commit to IOS-Wheeler/MLeaksFinder that referenced this issue Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants