简体   繁体   English

sqlite.swift与迦太基

[英]sqlite.swift with Carthage

I'm using sqlite.swift in my Swift project. 我在我的Swift项目中使用sqlite.swift。 Until now I'm using Cocoapods to install/update the library. 到目前为止,我正在使用Cocoapods来安装/更新库。

Is it possible to install sqlite.swift with Carthage insted of using Cocoapods? 是否可以安装sqlite.swift与Carthage使用Cocoapods?

As shared by stephencelis, you can follow the instructions detailed on github.com/stephencelis/SQLite.swift/ 由stephencelis共享,您可以按照github.com/stephencelis/SQLite.swift/上的详细说明进行操作。

Make sure Carthage is installed. 确保已安装Carthage。 Update your Cartfile to include the following: 更新您的Cartfile以包含以下内容:

github "stephencelis/SQLite.swift"

Run carthage update and add the appropriate framework in Xcode. 运行carthage update并在Xcode中添加适当的框架。

This will install the latest version. 这将安装最新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM