pod 错误。版本库 SSZipArchive React-native-code-push 与 React-native-zip-archive 存在冲突

问题描述 投票:0回答:1

运行 pod install 时,我有 2 个冲突的库,

react-native-code-push
react-native-zip-archive
取决于不同版本的 SSZipArchive。

我该如何解决这个问题?

[!] CocoaPods could not find compatible versions for pod "SSZipArchive":
  In Podfile:
    CodePush (from `../node_modules/react-native-code-push`) was resolved to 8.3.1, which depends on
      SSZipArchive (~> 2.2.2)

    RNZipArchive (from `../node_modules/react-native-zip-archive`) was resolved to 7.0.0, which depends on
      SSZipArchive (~> 2.5.5)

Specs satisfying the `SSZipArchive (~> 2.5.5), SSZipArchive (~> 2.2.2)` dependency were found, but they required a higher minimum deployment target.

我尝试过的链接

react-native cocoapods react-native-code-push ssziparchive
1个回答
0
投票

您需要将平台版本升级到15.5

platform :ios, '15.5'
© www.soinside.com 2019 - 2024. All rights reserved.