Swiftpack.co - kientux/zxing-cpp-swiftpm as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by kientux.
kientux/zxing-cpp-swiftpm 0.0.4
Swift Package Manager support for zxing-cpp iOS wrapper
⭐️ 0
🕓 48 weeks ago
iOS
.package(url: "https://github.com/kientux/zxing-cpp-swiftpm.git", from: "0.0.4")

zxing-cpp-swiftpm

Swift Package Manager support for zxing-cpp iOS wrapper.

Why

zxing-cpp iOS wrapper is already a SPM package, but currently users have to clone zxing-cpp, build it locally to produce .xcframework then put the iOS wrapper into project. This repo is for directly integrate into Xcode SPM, or Package.swift dependencies.

Instruction

Use branch instead of tag/release because this package contains cxxSettings unsafeFlags which is not allowed for versioned package.

dependencies: [
    // Dependencies declare other packages that this package depends on.
    .package(url: "https://github.com/kientux/zxing-cpp-swiftpm.git", 
            .branch("release-0.0.2"))
],

Instruction for new release

  • Run build.sh to build zxing-cpp xcframework
  • Update url and checksum of binaryTarget in Package.swift
  • Upload xcframework zip to github release

GitHub

link
Stars: 0
Last commit: 48 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

48 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics