Skip to content
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

Pod install fails with RN 0.44.0 using given installation instructions #10

Open
djpane opened this issue Jun 9, 2017 · 2 comments
Open

Comments

@djpane
Copy link

djpane commented Jun 9, 2017

Running pod install fails with Podfile as per instructions with RN 0.44.0. I'm getting:

[!] Unable to satisfy the following requirements:

  • Yoga (= 0.44.0.React) required by React/Core (0.44.0)

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

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, pod repo update does not happen on pod install by default.

After a bit of Googling I was able to come around this by adding this line to the Podfile:
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

@davvidbaker
Copy link
Contributor

Same thing happened for me, and @djpane's solution also worked for me. Submitted pull request.

@IamRoman
Copy link

IamRoman commented May 3, 2018

use lowercase yoga

pod "yoga", :path => "../node_modules/react-native/ReactCommon/yoga"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants