XHLaunchAd
XHLaunchAd copied to clipboard
在升级3.9.11后遇到崩溃
0 CoreFoundation | ___exceptionPreprocess + 228 1 libobjc.A.dylib | objc_exception_throw + 56 2 CoreFoundation | +[_CFXNotificationTokenRegistration keyCallbacks] 3 Foundation | -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112 4 UIKitCore | -[UIWindow setScreen:] + 2416 5 UIKitCore | __makeWindowMatchigScreen + 136 6 UIKitCore | __moveViewToTemporaryWindow + 276 7 UIKitCore | __UIDrawViewRectAfterCommit + 180 8 LifePlus | -[XHLaunchImageView imageFromView:] (XHLaunchImageView.m:81) 9 LifePlus | -[XHLaunchImageView imageFromLaunchScreen] (XHLaunchImageView.m:0) 10 LifePlus | -[XHLaunchImageView initWithSourceType:] (XHLaunchImageView.m:31) 11 LifePlus | -[XHLaunchAd setupLaunchAd] (XHLaunchAd.m:212) 12 LifePlus | -[XHLaunchAd init] (XHLaunchAd.m:167) 13 LifePlus | __27+[XHLaunchAd shareLaunchAd]_block_invoke (XHLaunchAd.m:157) 14 libdispatch.dylib | __dispatch_client_callout + 16 15 libdispatch.dylib | __dispatch_once_callout + 28 16 LifePlus | +[XHLaunchAd shareLaunchAd] (once.h:85) 17 LifePlus | +[XHLaunchAd setWaitDataDuration:] (XHLaunchAd.m:0) 18 LifePlus | -[ZLLaunchAdManager setupLaunchAd] (ZLLaunchAdManager.m:59) 19 Foundation | -[__NSObserver _doit:] + 316 20 CoreFoundation | _CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 20 21 CoreFoundation | ____CFXRegistrationPost_block_invoke + 64 22 CoreFoundation | __CFXRegistrationPost + 392 23 CoreFoundation | ____CFXNotificationPost_block_invoke + 96 24 CoreFoundation | -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1496 25 CoreFoundation | _CFXNotificationPost + 696 26 Foundation | -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 27 UIKitCore | -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3660 28 UIKitCore | -[UIApplication _runWithMainScene:transitionContext:completion:] + 1540 29 UIKitCore | ___111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 776 30 UIKitCore | +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160 31 UIKitCore | -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 236 32 UIKitCore | -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1064 33 UIKitCore | ___82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 744 34 UIKitCore | -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 428 35 UIKitCore | ___125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220 36 UIKitCore | _performActionsWithDelayForTransitionContext + 112 37 UIKitCore | -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 244 38 UIKitCore | -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 360 39 UIKitCore | -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540 40 UIKitCore | -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 360 41 FrontBoardServices | 0x00000001dde9b000 + 48452 42 FrontBoardServices | 0x00000001dde9b000 + 87892 43 FrontBoardServices | 0x00000001dde9b000 + 85852 44 libdispatch.dylib | __dispatch_client_callout + 16 45 libdispatch.dylib | __dispatch_block_invoke_direct$VARIANT$mp + 224 46 FrontBoardServices | 0x00000001dde9b000 + 286908 47 FrontBoardServices | 0x00000001dde9b000 + 286040 48 FrontBoardServices | 0x00000001dde9b000 + 287504 49 CoreFoundation | _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24 50 CoreFoundation | ___CFRunLoopDoSource0 + 88 51 CoreFoundation | ___CFRunLoopDoSources0 + 176 52 CoreFoundation | ___CFRunLoopRun + 1004 53 CoreFoundation | CFRunLoopRunSpecific + 436 54 GraphicsServices | GSEventRunModal + 104 55 UIKitCore | UIApplicationMain + 212 56 LifePlus | main (main.m:14) 57 libdyld.dylib | 0x00000001daf7d000 + 6368
之前使用的是LaunchImage,在升级后使用LaunchScreen
drawViewHierarchyInRect这个方法注释掉