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

相關文章
相關標籤/搜索