【发布时间】:2018-04-10 16:06:23
【问题描述】:
我的应用程序经常崩溃。 iOS 系统的崩溃似乎只发生在最新的 iOS 11 中。
这是崩溃
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x18439d7ec objc_object::release() + 8
1 SafariServices 0x1995d471c __75-[SFAuthenticationViewController dismissViewControllerAnimated:completion:]_block_invoke + 32
2 UIKit 0x18e5bf030 -[UIPresentationController transitionDidFinish:] + 1320
3 UIKit 0x18e79e760 -[_UICurrentContextPresentationController transitionDidFinish:] + 44
4 UIKit 0x18e5c2a20 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke_2 + 188
5 UIKit 0x18e38e9d8 -[_UIViewControllerTransitionContext completeTransition:] + 116
6 UIKit 0x18e38e7c8 -[UITransitionView notifyDidCompleteTransition:] + 252
7 UIKit 0x18e38e260 -[UITransitionView _didCompleteTransition:] + 1128
8 UIKit 0x18e38dde4 -[UITransitionView _transitionDidStop:finished:] + 120
9 UIKit 0x18e2b370c -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 312
10 UIKit 0x18e2b3418 -[UIViewAnimationState animationDidStop:finished:] + 296
11 UIKit 0x18e2b34b8 -[UIViewAnimationState animationDidStop:finished:] + 456
12 QuartzCore 0x188e57d6c CA::Layer::run_animation_callbacks(void*) + 284
13 libdispatch.dylib 0x1847f1048 _dispatch_client_callout + 16
14 libdispatch.dylib 0x1847fdb74 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1016
15 CoreFoundation 0x184e13f20 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
16 CoreFoundation 0x184e11afc __CFRunLoopRun + 2012
17 CoreFoundation 0x184d322d8 CFRunLoopRunSpecific + 436
18 GraphicsServices 0x186bc3f84 GSEventRunModal + 100
19 UIKit 0x18e2df880 UIApplicationMain + 208
20 Jaumo 0x1005674b4 main (main.m:20)
21 libdyld.dylib 0x18485656c start + 4
不确定这是什么崩溃。任何人都可以帮助解决这个问题?
【问题讨论】:
-
我面临同样的问题。你找到解决办法了吗?
-
@Jelly 还没有,我还在等待帮助
-
好的,我发现它就在我身边。也许它会帮助你。长话短说,登录被调用了两次,导致崩溃。
-
@Jelly 哦,真的吗??你的意思是 Facebook 登录对吗?
-
是的,
- (void)logInWithReadPermissions:(NSArray *)permissions fromViewController:(UIViewController *)fromViewController handler:(FBSDKLoginManagerRequestTokenHandler)handler