• /
  • ログイン
  • 無料アカウント

Adding a prefix header to an iOS project

Installing New Relic's iOS SDK API requires you to modify 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:

    $(SRCROOT)/<target_name>-Prefix.pch

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 iOS SDK API.

その他のヘルプ

さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:

問題を作成するこのページを編集する
Copyright © 2020 New Relic Inc.