I am using PayPal iOS SDK in my Swift project.
When I dismiss the standard PayPalPaymentViewController
using the BarButtonItem in the NavigationBar, I am getting the following error in console:
(lldb)
in green color, nothing else.
I have tried typing bt
in console, below the output:
* 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
I am clueless about how to interpret the above backtrace.
Can anyone give me some pointers on how to find out more what exactly is causing the error? If I need to provide more information, please let me know, I'll happily add it.
Thanks in advance for your time!