我在我的Swift项目中使用sqlite.swift。到目前为止,我正在使用Cocoapods来安装/更新库。
是否可以使用Carthage安装sqlite.swift而不是使用Cocoapods?
由stephencelis共享,您可以按照github.com/stephencelis/SQLite.swift/上的详细说明进行操作
确保已安装Carthage。更新您的Cartfile以包含以下内容:
github "stephencelis/SQLite.swift"
运行
carthage update
并在Xcode中添加适当的框架。
这将安装最新版本。