我试图将web3swift
导入我的Swift
文件之一,但得到编译器错误
没有这样的模块'web3swift'“。
import语句如下所示:
import Geth
import web3swift
在我的pod文件中,我有:
pod 'web3swift', :git => 'https://github.com/MercuryProtocol/web3.swift.git', :branch => 'master'
我也尝试了以下修复,但没有奏效:
Build Settings
Framework Search Paths
(区分大小写)<Multiple values>
+
根据你的问题 - 可能你正在使用另一个回购。请,请检查实际版本0.7.0
web3swift可通过CocoaPods获得。要安装它,只需将以下行添加到Podfile:
pod 'web3swift', git: 'https://github.com/matterinc/web3swift'
从命令行运行pod install
之后应该可以正常工作。如果您仍有问题,请随时打开问题:https://github.com/matterinc/web3swift/issues