No data appears (iOS)

Problem

Your New Relic Mobile app for iOS or tvOS is not reporting data.

Solution

After sending a request to your Mobile app, data should appear in the New Relic Mobile UI in three to five minutes. If no data appears:

  1. Make sure you are calling the agent on the first line of didFinishLaunchingWithOptions() and that you are running the agent on the main thread. To avoid unexpected or unstable behavior do not start didFinishLaunchingWithOptions() later, asynchronously, or on a background thread.
  2. Ensure you have completed all of the installation instructions.
  3. Use New Relic Diagnostics to try to automatically identify the issue.

  4. Examine detailed logs for errors.

  5. Confirm the device can reach the New Relic Mobile endpoint at mobile-collector.newrelic.com.
  6. If you need additional help, get support at support.newrelic.com.

To set up your log files:

  1. Increase the New Relic logging level by adding this method call before calling startWithApplicationToken:

    [NRLogger setLogLevels:NRLogLevelALL];
  2. Generate a few minutes of activity in your app.
  3. Examine your device log for lines from the New Relic SDK that might indicate potential issues.
  4. To remove the increased performance overhead caused by NRLogLevelALL, comment out the increased logging level after examining your logs:

    //[NRLogger setLogLevels:NRLogLevelALL];
  5. Check your application build logs for signs of New Relic instrumentation issues.

For more help

Recommendations for learning more: