我在执行 pod 安装时遇到以下错误。
The name of the given podspec `Yoga` doesn't match the expected one `yoga`
在 Podfile 中,只有这些行带有 yoga 这个词,而且它们是小写的……所以我不知道是什么导致了这个问题。
pod 'yoga',
:path => "../node_modules/react-native/ReactCommon/yoga",
:inhibit_warnings => true
如何解决?
最佳答案
看起来应该是 pod 'Yoga'
。参见 https://github.com/facebook/react-native/blob/master/ReactCommon/yoga/Yoga.podspec#L18
关于xcode - pod 安装错误 : The name of the given podspec `Yoga` doesn't match the expected one `yoga` ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61290827/