Generating Pods project failed

cocoapods pod install failed

因公司RN库作了调整,咱们iOS项目在pod install后报出错误:ios

An error occurred while processing the post-install hook of the Podfile.
No such file or directory @rb_sysopen - ./Pods/Target Support File/yoga/yoga-mbrella.h
复制代码

如图:npm

缘由是RN依赖的库yoga有问题找不到其中一个文件yoga-umbrella.h。从新安装一下RN依赖包.切到RNnpm install,而后ios项目从新pod install就行了。bash

相关文章
相关标签/搜索