From 7957378077dae305633c340ba907e06e869b412b Mon Sep 17 00:00:00 2001 From: David Koski <46639364+davidkoski@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:48:11 -0700 Subject: [PATCH] pin gzip dependency (#87) - later versions have compile issues: https://github.com/1024jp/GzipSwift/issues/65 fixes: https://github.com/ml-explore/mlx-swift-examples/issues/85 --- Package.swift | 2 +- mlx-swift-examples.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Package.swift b/Package.swift index 3af9da5..7e66105 100644 --- a/Package.swift +++ b/Package.swift @@ -17,7 +17,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/ml-explore/mlx-swift", from: "0.12.1"), .package(url: "https://github.com/huggingface/swift-transformers", from: "0.1.8"), - .package(url: "https://github.com/1024jp/GzipSwift", from: "6.0.1"), + .package(url: "https://github.com/1024jp/GzipSwift", "6.0.1" ... "6.0.1"), .package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"), ], targets: [ diff --git a/mlx-swift-examples.xcodeproj/project.pbxproj b/mlx-swift-examples.xcodeproj/project.pbxproj index e3ea1b6..9d18352 100644 --- a/mlx-swift-examples.xcodeproj/project.pbxproj +++ b/mlx-swift-examples.xcodeproj/project.pbxproj @@ -2591,8 +2591,8 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/1024jp/GzipSwift"; requirement = { - kind = upToNextMajorVersion; - minimumVersion = 6.0.1; + kind = exactVersion; + version = 6.0.1; }; }; C382DE882B630889000F8F03 /* XCRemoteSwiftPackageReference "swift-async-algorithms" */ = {