Closed sleeper closed 7 months ago
Thanks for reporting, looking into this - how does your Package.swift look?
Here it is:
import PackageDescription
let package = Package(
name: "s2t",
platforms: [.macOS(.v14)],
products: [
.executable(name: "s2t", targets: ["s2t"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
.package(url: "https://github.com/argmaxinc/whisperkit", from: "0.2.0"),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.executableTarget(
name: "s2t",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "WhisperKit", package: "whisperkit")
],
path: "Sources"
),
]
)
s
I'm new to Swift so it may be an issue on my side :/
This looks ok, I'll update shortly to 0.2.1 with a fix for this
Thanks!
@sleeper Just updated with v0.2.1, can you give it a try?
Working great! :
Working copy of https://github.com/argmaxinc/whisperkit resolved at 0.2.1
Many thanks !
Seems like I cannot resolve the packages correctly with 0.20:
The doc on SPM dependencies says: