iOS RemoteNotification swizzler infinity loop by two libraries
问题 In my app, I'm using Mixpanel iPhone library to record usage, and Firebase iOS SDK Messaging library to handle notifications. The issue happens when the iOS app is in the background, after user tap on a notification toast, app launches but will crash in a few seconds. The failure appears to be an EXC_BAD_ACCESS from Mixpanel's mp_swizzledMethod_5 function. While digging into the call stack I found that Mixpanel's mp_swizzledMethod_5 and Firebase's FCM_swizzle