bytedance / Bytedance-UnionAD

MIT License
171 stars 53 forks source link

最新版本(2.9.0.3)在iOS13上有崩溃现象 #67

Closed eroscai closed 4 years ago

eroscai commented 4 years ago

版本:最新2.9.0.3 崩溃系统版版本:iOS 13.0.0 崩溃标题: Fatal Exception: SKUnsupportedClassException SKStoreProductViewController may not be subclassed.

其他平台的问题讨论参考:https://github.com/mopub/mopub-ios-sdk/issues/281

崩溃堆栈:

Fatal Exception: SKUnsupportedClassException
0  CoreFoundation                 0x19552b278 __exceptionPreprocess
1  libobjc.A.dylib                0x1952540a4 objc_exception_throw
2  CoreFoundation                 0x195420ac8 -[NSCache init]
3  StoreKit                       0x1a3d8aa48 +[SKStoreProductViewController allocWithZone:]
4  SpeedTest                      0x104ee6424 -[BUAppStorePreloadItem initWithAppID:adID:logExtra:]
5  SpeedTest                      0x104ed896c -[BUAppStoreManager preloadAppStoreControllerWithAppID:adID:logExtra:isDuplicate:completion:]
6  SpeedTest                      0x104ed836c -[BUAppStoreManager preloadAppStoreControllerWithAppID:adID:logExtra:completion:]
7  SpeedTest                      0x104ed7954 +[BUAppStoreManager preloadAppStoreControllerWithAppID:adID:logExtra:completion:]
8  SpeedTest                      0x104dfdaa8 __66-[BUNativeAd registerShowContainer:withClickableViews:needRepeat:]_block_invoke
9  SpeedTest                      0x104eb9cd0 -[BUAdViewWitnessChecker showEventWithTracker:]
10 SpeedTest                      0x104eb9b2c -[BUAdViewWitnessChecker checkoutViewTracker]
11 SpeedTest                      0x104eb98c0 __49-[BUAdViewWitnessChecker checkAdViewsIfWitnessed]_block_invoke
12 libdispatch.dylib              0x1951f8658 _dispatch_call_block_and_release
13 libdispatch.dylib              0x1951f91cc _dispatch_client_callout
14 libdispatch.dylib              0x1951dc3e0 _dispatch_main_queue_callback_4CF$VARIANT$armv81
15 CoreFoundation                 0x1954a8c74 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
16 CoreFoundation                 0x1954a3c68 __CFRunLoopRun
17 CoreFoundation                 0x1954a316c CFRunLoopRunSpecific
18 GraphicsServices               0x19f2db328 GSEventRunModal
19 UIKitCore                      0x19950dd0c UIApplicationMain
20 SpeedTest                      0x104cd5344 main + 16 (main.m:16)
21 libdyld.dylib                  0x19532e424 start