React Native CocoaPods无法找到Pod“hermes-engine”的兼容版本

2nc8po8w  于 2023-03-31  发布在  React
关注(0)|答案(1)|浏览(492)

更新react-native版本后,我将取消rinstall pod依赖项
错误输出:
忽略executable-hooks-1.6.1,因为它的扩展尚未构建。尝试:gem pristine executable-hooks --version 1.6.1忽略gem-wrappers-1.4.0,因为它的扩展尚未构建。尝试:gem pristine gem-wrappers --version 1.4.0安装unimodules:expo-application@3.1.2 from ../node_modules/expo-application/ios expo-constants@10.1.3 from ../node_modules/expo-constants/ios expo-error-recovery@2.1.0 from ../node_modules/expo-error-recovery/ios expo-file-system@11.0.2 from ../node_modules/expo-file-system/ios expo-font@9.3.0 from ../node_modules/expo-font/ios expo-image-loader@2.1.1 from ../node_modules/expo-image-loader/ios expo-json-utils@0.4.0 from ../node_modules/expo-json-utils/ios expo-keep-awake@9.1.2 from ../node_modules/expo-keep-awake/ios expo-manifests@0.4.0 from ../node_modules/expo-manifests/ios expo-modules-core@0.3.2 from ../node_modules/expo-modules-core/ios expo-permissions@12.0.1 from ../node_modules/expo-permissions/ios expo-splash-screen@0.14.2 from ../node_modules/expo-app-loading/node_modules/expo-splash-screen/ios expo-structured-headers@3.0.1 from ../node_modules/expo-structured-headers/ios expo-updates-interface@0.8.1 from ../node_modules/expo-updates-interface/ios unimodules-app-loader@2.1.0 from ../node_modules/unimodules-app-loader/ios unimodules-barcode-scanner-interface@6.1.0来自../node_modules/unimodules-barcode-scanner-interface/ios unimodules-camera-interface@6.1.0来自../node_modules/unimodules-camera-interface/ios unimodules-constants-interface@6.1.0来自../node_modules/unimodules-constants-interface/ios unimodules-core@7.1.2来自../node_modules/@ unimodules-face-detector-interface@6.1.0来自../node_modules/unimodules-face-detector-interface/ios unimodules-file-system-interface@6.1.0 from ../node_modules/unimodules-file-system-interface/ios unimodules-font-interface@6.1.0 from ../node_modules/unimodules-font-interface/ios unimodules-image-loader-interface@6.1.0 from ../node_modules/unimodules-image-loader-interface/ios unimodules-permissions-interface@6.1.0 from ../node_modules/unimodules-permissions-interface/ios unimodulates-react-native-adapter@6.2.2 from ../node_modules/@unimodules/react-native-adapter/ios unimodules-sensors-interface@6.1.0 from ../node_modules/unimodules-sensors-interface/ios unimodules-task-manager-interface@6.1.0 from ../node_modules/unimodules-task-manager-interface/ios
找到一些重复的unimodule包。安装了具有最高版本号的包。确保项目的以下依赖项解析为一个特定版本:显示字体,显示闪屏
warn发现多个Podfiles:ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile。自动选择ios/Podfile。如果您想选择其他文件,可以通过“project.ios.sourceDir”配置。您可以在这里了解更多信息:https://github.com/react-native-community/cli/blob/master/docs/configuration.md为目标Bufunfa自动链接React Native模块:RNCAsyncStorage、RNCMaskedView、RNGestureHandler、RNLocalize、RNReanimated、RNSVG、RNScreens、和react-native-safe-area-context [Codegen]生成./build/generated/ios/React-Codegen.podspec.json更新本地规范库分析依赖关系从../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec中获取DoubleConversion的podspec [Codegen]找到FBReactNativeSpec从../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec获取RCT-Folly的podspec从../node_modules/react-native/third-party-podspecs/boost.podspec获取boost的podspec从../node_modules/react-native/third-party-podspecs/glog.podspec获取glog的podspec从hermes-engine获取hermes-engine的podspec../node_modules/react-native/sdks/hermes/hermes-engine.podspec [!] CocoaPods找不到Pod“hermes-engine”的兼容版本:在Podfile中:hermes-engine(from ../node_modules/react-native/sdks/hermes/hermes-engine.podspec
找到了满足hermes-engine (from../node_modules/react-native/sdks/爱马仕/hermes-engine.podspec )依赖的规范,但它们需要更高的最小部署目标。
我尝试升级Ruby版本和Pod更新Hermes-Engine --no-repo-update,但没有发现变化

r3i60tvu

r3i60tvu1#

如果你使用的是Expo和eas build,你可以用一个缓存键更新你的eas.json文件,这样它就可以干净地构建了:

{
  "build": {
    "production": {
      "cache": {
        "key": "whatever" // <- set this
      }
    }
}

相关问题