我曾经使用Bigint
4.0版。但是它试图将版本升级到5.0,因为它给了我警告消息。
但这显示了错误。
$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "BigInt":
In Podfile:
BigInt (~> 5.0)
web3.swift.pod (~> 2.2.0) was resolved to 2.2.0, which depends on
BigInt (~> 3.1)
我的Podfile
# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
target 'myapp' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for DeleteMe
pod 'BigInt', '~> 5.0'
pod 'CryptoSwift'
pod 'RealmSwift'
pod 'web3.swift.pod', '~> 2.2.0'
end
答案 0 :(得分:0)
正如@Larme所说,这是一个模块依赖问题。有问题的模块是Web3模块。由于Web3模块仍依赖Bigint4,因此无法安装Bigint5。我认为我们必须等待这个问题的新版本。