Skip to content

[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

Closed
Maxwell2022 opened this issue Mar 3, 2017 · 5 comments
Closed

[0.42.0] Missing Pod specs #12670

Maxwell2022 opened this issue Mar 3, 2017 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@Maxwell2022
Copy link

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:

None of your spec sources contain a spec satisfying the dependency: Yoga (= 0.42.0.React).

screen shot 2017-03-03 at 1 30 41 pm

@rgoldiez
Copy link

rgoldiez commented Mar 3, 2017

Same issue.

@ide
Copy link
Contributor

ide commented Mar 3, 2017

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?

@Maxwell2022
Copy link
Author

@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).

@ide
Copy link
Contributor

ide commented Mar 5, 2017

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.

facebook-github-bot pushed a commit that referenced this issue Mar 15, 2017
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
@hramos hramos added the Icebox label Jul 25, 2017
@hramos
Copy link
Contributor

hramos commented Jul 25, 2017

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:

  • Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
  • If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
  • Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

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.

@hramos hramos closed this as completed Jul 25, 2017
@ide ide removed the Icebox label Jul 25, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jul 25, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 25, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants