Skip to content

Swift Package Manager Support #371

Description

@jzzocc

Expected Behavior

Being able to install SQLCipher using a Swift Package Manager package maintained by Zetetic

Actual Behavior

In order to use SQLCipher with Swift Package Manager, a user must generate an amalgamation themselves and create their own Package.swift, e.g. https://github.com/antwork/SQLCipher or groue/GRDB.swift#556

Steps to Reproduce

N/A

SQLCipher version: 4.4.0

Hello,

While I wish this was a pull request adding a Package.swift to the repo instead of an issue requesting one, SQLCipher's amalgamation step complicates this. As far as I know there is currently no SPM equivalent to the prepare_command used in SQLCipher.podspec.json to generate the amalgamation. An SPM package can easily be made by including an amalgamation as seen in the links above, but since the amalgamation is quite large, it understandably is not included in the SQLCipher repo.

Would Zetetic be open to maintaining a repo that's an iOS/macOS-compatible amalgamation and Package.swift, similar to the one linked above? Since installing dependencies with Swift Package Manager is now directly integrated into Xcode, it will inevitably replace CocoaPods as the de-facto dependency management solution for Xcode projects.

Thank you for this project and taking the time to read this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions