运行 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.
您需要将平台版本升级到15.5
platform :ios, '15.5'