Open christiankm opened 3 years ago
I have the same problem. @christiankm did you resolve this problem ?
I have the same problem. @christiankm did you resolve this problem ?
No, I have not looked further into this. But it does not work on 11.3 Beta 1.
I have the same problem. @christiankm did you resolve this problem ?
No, I have not looked further into this. But it does not work on 11.3 Beta 1.
I did it (finally). But the problem wasn't the Big Sur, It was Xcode itself I had to select the correct version of xcode using sudo xcode-select -s /Applications/Xcode-12.4.0.app
then run the make instal
command.
For me the error was following:
.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Properties/Flag.swift:273:1: note: where 'Value' = 'Bool' extension Flag where Value == Int { ^
I think the issue is in the wrong dependency.
.package(url: "https://github.com/apple/swift-argument-parser.git", .branch("main"))
change it to some stable release
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "0.3.2")
I have the same problem. @christiankm did you resolve this problem ?
No, I have not looked further into this. But it does not work on 11.3 Beta 1.
I was hitting this same issue. Looks like the compiler cannot differentiate between the init
for Bool
and Int
, so I replaced line 22 in /Sources/Pecker/PeckerCommand.swift
:
// before
@Flag(name: .shortAndLong, help: "Print the version and exit")
// after
@Flag(name: .shortAndLong, inversion: .prefixedNo, help: "Print the version and exit")
I cannot install Pecker on Big Sur (possibly due to being beta, but maybe you know).
If trying via Homebrew it throws an error, and trying a manual install via
make install
throws the following build error: