iOS集成reactnative 遇到的问题

2021-06-26  本文已影响0人  cc05b52e9552

1、No podspec found for `FBReactNativeSpec` in `../node_modules/react-native/Libraries/FBReactNativeSpec`

换成

../node_modules/react-native/React/FBReactNativeSpec

2、CocoaPods could not find compatible versions for pod "ReactCommon/callinvoker"

换成

pod 'React-callinvoker', :path => "../node_modules/react-native/ReactCommon/callinvoker"

3、Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec

换成

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

4、Unable to find a specification for `React-runtimeexecutor (= 0.64.2)` depended upon by `React-cxxreact`

添加

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

5、[!] Unable to find a specification for `React-perflogger (= 0.64.2)` depended upon by `React-cxxreact`

添加

pod 'React-perflogger', :path => '../node_modules/react-native/ReactCommon/reactperflogger'

上一篇 下一篇

猜你喜欢

热点阅读