From 3e5d89c3f84e1b3510eeb3459528870060975601 Mon Sep 17 00:00:00 2001 From: Francisco Gindre Date: Mon, 2 Sep 2024 15:07:05 -0300 Subject: [PATCH] [#64] maintain iOS 15 compatibility closes #64 Lukas Korba from ECC reported that Zashi couldn't be built since the latest version of BigDecimal depend on BigInt which has min deployment target of iOS 16.4 --- Package.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index b8affbf..048557b 100644 --- a/Package.swift +++ b/Package.swift @@ -6,7 +6,8 @@ import PackageDescription let dependencies: [Package.Dependency] = [ .package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.13.0"), .package(url: "https://github.com/pointfreeco/swift-case-paths", exact: Version(stringLiteral: "1.0.0")), - .package(url: "https://github.com/mgriebling/BigDecimal.git", from: "2.0.0"), + .package(url: "https://github.com/mgriebling/BigDecimal.git", exact: Version(stringLiteral: "2.2.3")), + .package(url: "https://github.com/mgriebling/BigInt.git", exact: Version(stringLiteral: "2.0.10")), .package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.0.0") ] @@ -18,6 +19,7 @@ let targets: [Target] = [ dependencies: [ .product(name: "Parsing", package: "swift-parsing"), .product(name: "BigDecimal", package: "BigDecimal"), + .product(name: "BigInt", package: "BigInt"), .product(name: "CustomDump", package: "swift-custom-dump") ] ), @@ -33,6 +35,7 @@ let dependencies: [Package.Dependency] = [ .package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.13.0"), .package(url: "https://github.com/pointfreeco/swift-case-paths", exact: Version(stringLiteral: "1.0.0")), .package(url: "https://github.com/mgriebling/BigDecimal.git", from: "2.0.0"), + .package(url: "https://github.com/mgriebling/BigInt.git", exact: Version(stringLiteral: "2.0.11")), .package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.0.0") ]