CoderZhuXH / XHLaunchAd

🔥The screen opening advertising solutions - 开屏广告、启动广告解决方案-支持静态/动态图片广告,mp4视频广告,全屏/半屏广告、兼容iPhone/iPad. 【 Github下载不了/下载慢 可以访问国内下载地址: https://gitee.com/CoderZhuXH/XHLaunchAd】
MIT License
3.69k stars 739 forks source link

在升级3.9.11后遇到崩溃 #220

Open iimuy opened 4 years ago

iimuy commented 4 years ago

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 | -[UICanvasLifecycleMonitorCompatability 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

iimuy commented 4 years ago

之前使用的是LaunchImage,在升级后使用LaunchScreen

kaitopic commented 4 years ago

drawViewHierarchyInRect这个方法注释掉