Adding a prefix header to an iOS project

The iOS SDK API for New Relic Mobile requires modification of your project's prefix header. If your project does not have one, follow these steps to add it.

  1. From your Xcode menu, select File > New > File...
  2. From iOS template options, select Other > PCH file.
  3. Name the file <target_name>-Prefix.pch, and then select Create.
  4. From your target’s Build settings, select All, and then add the following to the Prefix Header field:

Prefix Header file for iOS SDK API projects
Here is an example of using Xcode to add a Prefix Header file to your iOS project for the New Relic Mobile iOS SDK API.

For more help

If you need more help, check out these support and learning resources: