Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon

iOS Crash NRMANetworkFacade noticeNetworkFailure:withTimer:withError



The iOS app that uses NewRelicAgent (version 6.11.0) crashed. The stack trace is:



    0  CoreFoundation                 0x1996299ec CFBasicHashGetBucket + 28
    1  CoreFoundation                 0x19962b9ec CFBasicHashApply + 108
    2  CoreFoundation                 0x19954d0f0 CFDictionaryApplyFunction + 204
    3  CFNetwork                      0x19ca14e60 _CFHTTPServerResponseEnqueue + 19620
    4  CFNetwork                      0x19c844e00 (Missing)
    5  Parsable                       0x103cf572c __62+[NRMANetworkFacade noticeNetworkFailure:withTimer:withError:]_block_invoke + 212 (
    6  libdispatch.dylib              0x1992afbb0 _dispatch_call_block_and_release + 32
    7  libdispatch.dylib              0x1992b100c _dispatch_client_callout + 20
    8  libdispatch.dylib              0x1992b3448 _dispatch_queue_override_invoke + 672
    9  libdispatch.dylib              0x1992bfbd4 _dispatch_root_queue_drain + 348
    10 libdispatch.dylib              0x1992c0384 _dispatch_worker_thread2 + 120
    11 libsystem_pthread.dylib        0x199316a60 _pthread_wqthread + 216
    12 libsystem_pthread.dylib        0x19931cc78 start_wqthread + 8

Happens on ios 12 and 13. Both iPhones and iPads.


The way our mobile agents work to gather in depth metrics is to form a wrapper around everything in the application. Because of this wrapping, New Relic can often be seen as the cause of a crash when in fact we are simply wrapping the method that crashed.

I suspect this crash points to New Relic because we are method swizzling. This is normal - we’re simply calling the method the app is calling with timers. Here is a level up post on the right way to method swizzle as an explanation on this.

Are you only seeing this crash for iOS 12 and 13? Can you provide a link to the crash in New Relic for a closer look?