react-native ios Podfile issue with “use_native_modules!”

前端 未结 18 2030
一生所求
一生所求 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:02

    I got this error after I tried to react-native run-ios an Expo app. The error I got indicated that something was wrong with the Pods, so I ran cd ios && pod install, which is how I got a similar error as the OP.

    In that case, you obviously need to expo start instead of react-native run-ios.

提交回复
热议问题