-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
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!