diff --git a/README.md b/README.md index d19f8c0..2fe4538 100755 --- a/README.md +++ b/README.md @@ -18,11 +18,16 @@ More to come! npm install react-native-newrelic --save ``` ## iOS -#### 1. Install New RelicAgent in your project as a pod +#### 1. Install New RelicAgent in your project +##### Option 1 (Using Cocoapods): In the Podfile for your project, add the following line: `pod 'NewRelicAgent'` Make sure Xcode is closed and run: `pod install` +or + +##### Option 2 (Link it [manually](https://docs.newrelic.com/docs/mobile-monitoring/new-relic-mobile-ios/installation/ios-manual-installation#configuration)) + #### 2. Add the project to Xcode In the project navigator: - Right click Libraries diff --git a/ios/RNNewRelic.xcodeproj/project.pbxproj b/ios/RNNewRelic.xcodeproj/project.pbxproj index d71fbd2..0090ee3 100755 --- a/ios/RNNewRelic.xcodeproj/project.pbxproj +++ b/ios/RNNewRelic.xcodeproj/project.pbxproj @@ -214,7 +214,7 @@ 7B3424411CCF990C00FEBAEC /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - FRAMEWORK_SEARCH_PATHS = ""; + FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../../ios/Frameworks"; HEADER_SEARCH_PATHS = ( "$(inherited)", "$(SRCROOT)/../../react-native/React/**", @@ -231,7 +231,7 @@ 7B3424421CCF990C00FEBAEC /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - FRAMEWORK_SEARCH_PATHS = ""; + FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../../ios/Frameworks"; HEADER_SEARCH_PATHS = ( "$(inherited)", "$(SRCROOT)/../../react-native/React/**",