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 Headerfield:
    $(SRCROOT)/<target_name>-Prefix.pch

Prefix Header file for iOS SDK API projects
Previous
Next Post »

1 comments:

Write comments
Anonymous
AUTHOR
6 June 2018 at 23:45 delete

$(SRCROOT)/$(PROJECT_NAME)/PrefixHeader.pch

Reply
avatar