3

我在我的 Swift 项目中使用 sqlite.swift。到目前为止,我使用 Cocoapods 来安装/更新库。

是否可以在 Carthage 安装使用 Cocoapods 的 sqlite.swift ?

4

1 回答 1

4

正如 stephencelis 所分享的,您可以按照github.com/stephencelis/SQLite.swift/上的详细说明进行操作

确保安装 Carthage。更新您的 Cartfile 以包含以下内容:

github "stephencelis/SQLite.swift"

在 Xcode 中运行carthage update并添加适当的框架。

这将安装最新版本。

于 2015-10-08T10:26:19.483 回答