2

I'm getting the following error while doing pod install.

The name of the given podspec `Yoga` doesn't match the expected one `yoga`

Inside the Podfile these are the only lines with the word yoga and they are in lowercase...so I don't know what's causing this problem..

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

How to solve?

preston
  • 3,721
  • 6
  • 46
  • 78

2 Answers2

6

It looks like it should be pod 'Yoga'. See https://github.com/facebook/react-native/blob/master/ReactCommon/yoga/Yoga.podspec#L18

Paul Beusterien
  • 27,542
  • 6
  • 83
  • 139
0

When you .podfile pod '<name>' is not equal .podspec <variable>.name = "name" you get

The name of the given podspec `<name>` doesn't match the expected one
yoAlex5
  • 29,217
  • 8
  • 193
  • 205