Skip to content

Commit

Permalink
Merge pull request #17985 from mbruin-NR/iOS-manual-installation
Browse files Browse the repository at this point in the history
NR-172722 added docs for manually installing the agent
  • Loading branch information
ally-sassman committed Jul 17, 2024
2 parents ede1de2 + b9199c2 commit 813115d
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: XCFramework manual installation
metaDescription: How to instrument to your iOS applications by downloading the XCFramework.
freshnessValidatedDate: 2024-07-16
---

We recommend that you use our [guided install](https://onenr.io/0qwLv87gkj5) to set up iOS monitoring. However, if you need to install the agent manually, follow the steps below to install the New Relic iOS agent (in an XCFramework package) and add it to your XCode project.

<Steps>
<Step>
Download the latest iOS agent (XCFramework) from our [iOS agent release notes](/docs/release-notes/mobile-release-notes/ios-release-notes).
</Step>
<Step>
Navigate to where the iOS agent was downloaded and unzip it.
</Step>
<Step>In your Xcode project, add the unzipped XCFramework:

1. Right-click on your Project navigator and click **Add Files to `[YourProjectName]`**.
2. Select the `NewRelic.xcframework` directory and click **Add**.
</Step>
<Step>
Embed the iOS agent:
1. In the Project navigator, open your project and target settings.
2. Click on the target to which you want to add the agent.
3. Click the **General** tab.
4. Scroll down to the **Frameworks, Libraries, and Embedded Content** section.
5. Make sure `NewRelic.xcframework` is listed here. If it's not, click **+** button to add it.
</Step>
</Steps>


2 changes: 2 additions & 0 deletions src/nav/mobile-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ pages:
path: /docs/mobile-monitoring/new-relic-mobile-ios/installation/cocoapods-installation
- title: Swift package manager
path: /docs/mobile-monitoring/new-relic-mobile-ios/installation/spm-installation
- title: XCFramework manual installation
path: /docs/mobile-monitoring/new-relic-mobile-ios/installation/manual-installation
- title: iOS compatibility and requirements
path: /docs/mobile-monitoring/new-relic-mobile-ios/get-started/new-relic-ios-compatibility-requirements
- title: iOS distributed tracing
Expand Down

0 comments on commit 813115d

Please sign in to comment.