美文网首页
iOS集成reactnative 遇到的问题

iOS集成reactnative 遇到的问题

作者: cc05b52e9552 | 来源:发表于2021-06-26 10:56 被阅读0次

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'

相关文章

网友评论

      本文标题:iOS集成reactnative 遇到的问题

      本文链接:https://www.haomeiwen.com/subject/xftzyltx.html