Search code examples
iosswiftcocoapodscarthagesqlite.swift

sqlite.swift with Carthage


I'm using sqlite.swift in my Swift project. Until now I'm using Cocoapods to install/update the library.

Is it possible to install sqlite.swift with Carthage insted of using Cocoapods?


Solution

  • As shared by stephencelis, you can follow the instructions detailed on github.com/stephencelis/SQLite.swift/

    Make sure Carthage is installed. Update your Cartfile to include the following:

    github "stephencelis/SQLite.swift"

    Run carthage update and add the appropriate framework in Xcode.

    This will install the latest version.