Generating Pods project failed

d_d發表於2019-03-24

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
複製程式碼

如圖:

Generating Pods project failed

原因是RN依賴的庫yoga有問題找不到其中一個檔案yoga-umbrella.h。重新安裝一下RN依賴包.切到RNnpm install,然後ios專案重新pod install就好了。

相關文章