Fabric在[Fabric with:@ [[Answers class]]]上回答SDK崩溃;

时间:2018-12-15 06:56:20

标签: ios crashlytics google-fabric xcode10.1 fabric-answers

将iOS应用程序升级为使用Xcode 10.1构建后,我注意到在运行旧版iOS(最高为iOS 11.2.1)的设备上,Fabric Crashlytics for Answers SDK导致该应用程序崩溃。

在运行iOS 11.3或更高版本的设备上,或者在使用Xcode 10.0构建应用程序的情况下,崩溃不会恢复。

我正在使用Answers 1.2.1,使用Fabric 1.6.7,并使用cocoapods。

崩溃发生在以下代码行:

[Fabric with:@[ [Answers class] ]];

我将尝试一些事情,包括升级到最新的Answers和Fabric SDK,并将使用发现更新此线程。如果您以前遇到过这种情况,我很想知道哪种方法对您有用。

下面的示例调用堆栈中的代码片段,导致崩溃:

0   libswiftCore.dylib                   0x00000001056a47d0 patchedBundleForClass(objc_object*, objc_selector*, objc_class*) + 24
1   MySampleApp                          0x0000000100b2e61c FABApplicationIsSignedForDistribution + 52
2   MySampleApp                          0x0000000100b2e5c4 FABApplicationInstallationSource + 24
3   MySampleApp                          0x0000000100b35194 -[FABSettings appSource] + 20
4   MySampleApp                          0x0000000100b355fc -[FABSettings settingsURLForEndpoint:appInstanceIdentifer:appIconHash:] + 496
5   MySampleApp                          0x0000000100b2f798 -[FABSettingsOnboardingManager settingsURL] + 188
6   MySampleApp                          0x0000000100b2e9d4 -[FABSettingsOnboardingManager beginSettingsDownload] + 100
7   MySampleApp                          0x0000000100b31350 -[Fabric onboardAppAndDownloadSettings] + 120
8   MySampleApp                          0x0000000100b30c80 __15+[Fabric with:]_block_invoke + 536
9   libdispatch.dylib                    0x0000000183f56a14 _dispatch_client_callout + 12
10  libdispatch.dylib                    0x0000000183f5a240 dispatch_once_f$VARIANT$mp + 56
11  MySampleApp                          0x0000000100b30a60 +[Fabric with:] + 176

0 个答案:

没有答案