【发布时间】:2021-10-20 23:39:49
【问题描述】:
尝试在 react native 升级助手的帮助下升级到 0.65 react 版本。
我尝试了什么:
1) rm -rf nodu_modules && cd/ios && rm -rf Podfile.lock Pods && pod deintegrate && pod update && pod install
这是我的 Podfile 中的内容。
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '13.2'
target 'Test' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
use_flipper!()
post_install do |installer|
react_native_post_install(installer)
end
pod 'React-Core', :path => '../node_modules/react-native'
end
我遇到了什么样的问题?
在 pod update/pod install/pod install --repo-update 时,我有:
【问题讨论】:
标签: ios ruby react-native build cocoapods