-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS compile issues - 'NewRelicAgent/NewRelic.h' file not found #31
Comments
Same here, did you fix this? |
@Clawg @jibugeorge You have done something wrong with precompiled headers. I have fixed this issue, by adding libraries files directly to project (not adding project file). Also if you are using newer version of SDK - you will need to patch the library. It has one deprecated method:
|
I resolved this by adding the prefix header file |
hi there, are you know which version of Newrelic should install from pod file, instead lastest version which must add above 2 functions? |
@phuhk I believe less that 6.x |
i got same error even with pch file added. how did you fix that with prefix header file ? @Clawg |
Use the newrelic agent which is less than version 6. |
Hi @jibugeorge were you able to fix it? i tried the solutions mentioned in this issue but i keep getting the same error. |
I wasn’t able to fix the problem per se. found a workaround to resolve this. This was happening coz SymLinks were not getting created properly. So added some scripts in my pod file to manually create the symlinks. That resolved the problem for us.
…Sent from my iPhone
On Mar 12, 2019, at 2:53 PM, Martín Couso <[email protected]<mailto:[email protected]>> wrote:
Hi @jibugeorge<https://github.com/jibugeorge> were you able to fix it? i tried the solutions mentioned in this issue but i keep getting the same error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#31 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AlofsGJoqTqtQIGD5zf576wuiWr9KBcTks5vV_eTgaJpZM4WA2pw>.
|
I got same error. Can anyone find the solution? i am tried with newRelicAgent 6.6.0 |
@jibugeorge can you share the scripts? |
@rcidt This is what worked for us
|
Many thanks guys ✌️ |
You have to add it to your own project |
2020 |
Check @minh-dai response - they changed from NewRelicAgent to NewRelic. |
official newrelic react native agent is available https://docs.newrelic.com/docs/mobile-monitoring/new-relic-monitoring-react-native/monitor-your-react-native-application/ |
I am trying to add the new relic agent by following the instructions. I am not able to build the application as I am getting the below compile error in my project's prefix header file and in the RNNewRelic.xcodeproj file
"'NewRelicAgent/NewRelic.h' file not found"
Has anyone else faced this issue?
The text was updated successfully, but these errors were encountered: