No podspec found for `React-Core` in `../node_modules/react-native/React`

前端 未结 6 1975
生来不讨喜
生来不讨喜 2021-02-19 01:52

I\'m using React Native. I get this issue when I try to upload pods. I\'ve successfully installed node_modules, but I\'m getting this problem. What is the problem? If we delete

6条回答
  •  死守一世寂寞
    2021-02-19 02:32

    Podspec was moved from

    ../node_modules/react-native/React
    

    to

    ../node_modules/react-native
    

    So update the line

    pod 'React-Core', :path => '../node_modules/react-native/React'
    

    to

    pod 'React-Core', :path => '../node_modules/react-native'
    

    Please check it here depend on your react-native version https://react-native-community.github.io/upgrade-helper/?from=0.60.6&to=0.61.4

提交回复
热议问题