-
Notifications
You must be signed in to change notification settings - Fork 136
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
React/RCTDefines.h not found #326
Conversation
Hey @mmiani, Thanks for the PR. I just tried The PR itself looks fine except it's missing a change in appcenter-analytics/ios/appcenter-push.podspec. Please make sure you also update that file. |
My iOS project is not the standard one created by My pod file looks like this:
I've added the missing change to appcenter-push, please let me know if you need any further clarification. |
@mmiani, I struggled to setup a react native project that neither use "react-native link" or "Libraries folder", but only use cocoapods. My problem is when I removed all references in Libraries folder from Xcode, it doesn't know where to find reference. Can you share a stripped down version of your RN.iOS app not using "Libraries folder" so that I can reproduce? It could much appreciate to see how to convert a "standard" RN.iOS app create via |
@mmiani, a caveat of not using "react-native link": AppCenter SDKs use prompt during "react-native link" to ask for information: (1) AppSecret which will be recorded in AppCenter-Config.plist; In other words, without "react-native link", users have to add those code themselves. Basically the last 2 steps from integrate-the-ios-sdk-manually. But still, I am interested to see what exactly is required to integrate AppCenter SDKs without "react-native link" even with slightly worse user experience. |
Unfortunately, I can't share my iOS project, I'll try to generate a clean iOS project with RN integrated and some dependencies configured via CocoaPods so you can have an idea |
I'm having the same issue with a fresh app using the CocoaPods integration mentioned here: https://facebook.github.io/react-native/docs/integration-with-existing-apps |
@oblador, have you tried Integrate the iOS SDK manually doc and still having the same issue? |
@dhei Try with your own |
@dhei Did you manage to recreate this using your own example app? |
Any updates on this? Having the same issue now with CocoaPods |
I've managed to reproduce this, and I can confirm that this PR resolves that issue! |
I'm having this issue:
React/RCTDefines.h not found
after upgrading CocoaPods to v 1.5.3According to their changelog
So I tried adding React as a dependency in the podspec and that fixed the issue