cocoapods pod install failed
因公司RN库做了调整,我们iOS项目在pod install后报出错误:
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
如图:

原因是RN依赖的库yoga有问题找不到其中一个文件yoga-umbrella.h。重新安装一下RN依赖包.切到RN下npm install,然后ios项目重新pod install就好了。