Skip to content

Upcoming SQLCipher.swift Swift Package Manager integration Pull Request #1334

@R4N

Description

@R4N

With the deprecation of CocoaPods looming, we recently created SQLCipher.swift Swift Package

I've done some work on a fork in preparation for issuing a Pull Request which adds support for using SQLCipher.swift as a dependency of SQLite.swift when enabling it using a SQLCipher Swift Package Trait: https://github.com/R4N/SQLite.swift/tree/sqlcipher-spm

In the initial release of SQLCipher.swift Swift Package, we had set the platform versions to the minimum that modern Xcode allows to be selectable, but when attempting to add SQLCipher as a dependency for SQLite.swift we realized that SQLite.swift uses the minimum platform versions available for Swift Package Manager.

In the next release of SQLCipher.swift (4.11.0) we're planning on:

  • Reducing the minimum platform versions of SQLCipher.swift Swift Package to the Swift Package minimums
  • Moving the referenced binaryTarget to a zip attached to a proper GitHub Release instead of placing the binary target in the repo itself

After this next release, I'm planning on issuing the Pull Request.

Swift Package Traits aren't available until swift-tools-version: 6.1, so this Pull Request would also require bumping the Package.swift manifest of SQLite.swift to swift-tools-version: 6.1

Let me know what you think and if you have any feedback. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions