react-native ios Podfile issue with “use_native_modules!”

前端 未结 18 2037
一生所求
一生所求 2020-12-05 17:15

In my react-native project (react-native@0.60) in the ios/ dir I run pod install and get this error:

[!] Invalid `Podfile` file: no implicit con         


        
18条回答
  •  伪装坚强ぢ
    2020-12-05 18:08

    this is because the outdate yarn version on your device, if you on macOS you can upgrade/install the yarn with follow this link: here it is

    be aware to delete node-module and yarn.lock file, install all packages again, navigate to ios folder and run pod install.

提交回复
热议问题