React native 在“../node\u modules/React native”中未找到“React Core”的podspec`

React native 在“../node\u modules/React native”中未找到“React Core”的podspec`,react-native,cocoapods,React Native,Cocoapods,我有一个错误: No podspec found for `React-Core` in `../node_modules/react-native` 这是我的播客文件: target 'RNNativeOrientationInteractor' do # Comment the next line if you don't want to use dynamic frameworks # use_frameworks! # Your 'node_modules'

我有一个错误:

 No podspec found for `React-Core` in `../node_modules/react-native`
这是我的播客文件:

    target 'RNNativeOrientationInteractor' do
  # Comment the next line if you don't want to use dynamic frameworks
  # use_frameworks!


  # Your 'node_modules' directory is probably in the root of your project,
  # but if not, adjust the `:path` accordingly
  pod 'React', :path => '../node_modules/react-native'
  pod 'React-Core', :path => '../node_modules/react-native'
  pod 'React-DevSupport', :path => '../node_modules/react-native/React'
  pod 'React-fishhook', :path => '../node_modules/react-native/Libraries/fishhook'
  pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
  pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
  pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
  pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
  pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
  pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
  pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
  pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
  pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
  pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'

  pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
  pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
  pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
  pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'

  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'


end
根据,如果您的本地版本介于
0.60.6-0.61.1
之间<代码>反应核心。podspec已从

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

但对于以前的版本,请将
Podfile
中的
React Core
路径更改为

pod 'React-Core', :path => '../node_modules/react-native/React'
为了确认这一点,请检查路径
。/node\u modules/react native/react/react Core.podspec
相对于Podfile是否确实存在

希望这对你有帮助。不要怀疑

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