Swift Package Manager Support

Đang mở
#371 56 bình luận 27 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
c, swift
Lĩnh vực
build-system, mobile-dev

Hướng nghiên cứu

Start by reviewing SQLCipher.podspec.json and the repository's amalgamation process, then compare the linked Package.swift examples for iOS and macOS compatibility. Done would mean an agreed, maintainable Swift Package Manager distribution for SQLCipher, including the required amalgamation and package configuration.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 https://github.com/groue/GRDB.swift/pull/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!

Ngôn ngữ chính
C
Star
7.3k
Fork
1.4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sqlcipher/sqlcipher

Tất cả issue của sqlcipher/sqlcipher

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.