Swift / iOS:分析(lldb)崩溃,PayPal iOS SDK

时间:2015-02-13 13:37:25

标签: ios xcode swift lldb taplytics

我在Swift项目中使用PayPal iOS SDK。

当我使用NavigationBar中的BarButtonItem解除标准PayPalPaymentViewController时,我在控制台中收到以下错误:

绿色的

(lldb),没有别的。

我尝试在控制台中输入bt,在输出下方输入:

* thread #1: tid = 0x271b32, 0x00000001951fc0b4 libobjc.A.dylib`objc_retain + 20, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1625f6c90)
    frame #0: 0x00000001951fc0b4 libobjc.A.dylib`objc_retain + 20
    frame #1: 0x0000000100215e0c MyApp`-[UIBarButtonItem(TLBarButtonItem) tl_barButtonAction:] + 32
    frame #2: 0x000000010032c1d8 MyApp`-[UIBarButtonItem(PPZebraAnalyticsWidgetCategories) ppZebraAnalyticsWidgetDidTrigger] + 200
    frame #3: 0x0000000100215ea4 MyApp`-[UIBarButtonItem(TLBarButtonItem) tl_barButtonAction:] + 184
    frame #4: 0x000000018927d418 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 96
    frame #5: 0x000000018927d418 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 96
    frame #6: 0x000000018926652c UIKit`-[UIControl _sendActionsForEvents:withEvent:] + 612
    frame #7: 0x000000018927cdb4 UIKit`-[UIControl touchesEnded:withEvent:] + 592
    frame #8: 0x000000018927ca40 UIKit`-[UIWindow _sendTouchesForEvent:] + 700
    frame #9: 0x0000000189275f94 UIKit`-[UIWindow sendEvent:] + 684
    frame #10: 0x000000018924968c UIKit`-[UIApplication sendEvent:] + 264
    frame #11: 0x00000001894e860c UIKit`_UIApplicationHandleEventFromQueueEvent + 14992
    frame #12: 0x0000000189247bf4 UIKit`_UIApplicationHandleEventQueue + 1616
    frame #13: 0x0000000184a529ec CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
    frame #14: 0x0000000184a51c90 CoreFoundation`__CFRunLoopDoSources0 + 264
    frame #15: 0x0000000184a4fd40 CoreFoundation`__CFRunLoopRun + 712
    frame #16: 0x000000018497d0a4 CoreFoundation`CFRunLoopRunSpecific + 396
    frame #17: 0x000000018db175a4 GraphicsServices`GSEventRunModal + 168
    frame #18: 0x00000001892aeaa4 UIKit`UIApplicationMain + 1488
  * frame #19: 0x00000001005edd50 MyApp`top_level_code + 76 at AppDelegate.swift:17
    frame #20: 0x00000001005edd90 MyApp`main + 48 at AppDelegate.swift:0
    frame #21: 0x0000000195852a08 libdyld.dylib`start + 4

我对如何解释上述回溯感到无能为力。

任何人都可以给我一些关于如何找到更多导致错误的确切内容的指示吗?如果我需要提供更多信息,请告诉我,我很乐意添加它。

提前感谢您的时间!

2 个答案:

答案 0 :(得分:1)

戴夫来自PayPal。

请参阅此问题:https://github.com/paypal/PayPal-iOS-SDK/issues/251 - 您和该开发人员在使用Taplytics库同时使用PayPal iOS库时遇到同样的问题。

请先与Taplytics联系(如果他们已经与开发人员合作过),然后加入PayPal-iOS-SDK仓库中上述问题的讨论,了解您所学到的知识,或者获得进一步帮助。< / p>

答案 1 :(得分:1)

我在@ Taplytics工作!

我很抱歉这个混乱,但问题已在Taplytics iOS SDK的v2.1.40中得到解决。

由于您正在使用细分,因此您需要将其SDK更新为&gt; = v1.10.3,这会自动将Taplytics更新为正确的版本。

如果您在更新后遇到任何问题,请随时与我们的团队联系!