Hi, I added NewRelicAgent 7.3.0 into my iOS app via Cocoapods and launching it as follows
enableCrashReporting(false) let featuresToDisable: NRMAFeatureFlags = [ .NRFeatureFlag_DefaultInteractions, .NRFeatureFlag_HandledExceptionEvents, .NRFeatureFlag_CrashReporting ] disableFeatures(featuresToDisable) start(withApplicationToken: applicationToken)
When the app launches on iOS Simulator and I navigate to a screen the app crashes with the following exception:
*** Terminating app due to uncaught exception ‘NRInvalidArgumentException’, reason: ‘New Relic detected an unrecognized selector, ‘_RX_namespace_viewDidAppear:’, sent to ‘UIViewController’. It’s possible _cmd was renamed by an unsafe method_exchangeImplementations().’
This appears to be some kind of incompatibility with RxSwift.
When I pass
disableFeatures() this crash goes away but this effectively makes it imposible to use interaction tracing.
Is there a way to avoid this crash?