-
Notifications
You must be signed in to change notification settings - Fork 24.6k
[0.42.0] Missing Pod specs #12670
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Same issue. |
The official fix for this is to explicitly specify the location of React Native's copy of Yoga in your Podfile: # In Podfile
react_native_path = "node_modules/react-native"
pod "React", :path => react_native_path
pod "Yoga", :path => "#{react_native_path}/ReactCommon/yoga" Would anyone like to submit a docs PR? |
@ide I'd be happy to do it, where would that documentation live? I don't think there is any section in the docs for Pods installation at the moment, except in troubleshooting? I think it would a good idea to edit the release message (https://github.com/facebook/react-native/releases/tag/v0.42.0) to mention it too (@grabbou). |
Git grep for where there are docs on using cocoa pods, iirc there is a docs page that explains what the podfile should look like. |
Summary: I've updated the documentation that gives an example of Podfile adding a note that from React Native 0.42.0, users have to explicitly include Yoga in their Podfile. I didn't want to modify existing `Podfile` from this documentation because they refer to `Podfile` from existing projects that do not use RN 0.42.0. So I just added a note and an example to explain how to include Yoga. This PR is to fix the following issue: #12670 Closes #12728 Differential Revision: D4716172 Pulled By: hramos fbshipit-source-id: 12a6e61b0d426c776a7cc2dea3ac22a50ffe56ef
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
I'm not sure I should report this here or in Yoga repo.
Running
pod install
with react-native 0.42.0 I got the following error:The text was updated successfully, but these errors were encountered: