• /
  • EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

No data appears (iOS)

Problem

Your iOS or tvOS app is not reporting data after installing the iOS agent.

Solution

After sending a request in your app, data should appear in the mobile monitoring 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 mobile monitoring endpoints listed in Networks.
  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.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.