Open soid opened 1 year ago
Encountering the same problem here, while trying to build an Apple Silicon version… Did you find a workaround ?
Not sure if it's going to fix the issue but I just noticed I made a typo and wrote SWiftCLI
on the package manifest.
Not sure if it's going to fix the issue but I just noticed I made a typo and wrote
SWiftCLI
on the package manifest.
Yes, it's the cause. I managed to get a build by :
dependencies: [
.package(path: "/path/to/SwiftCLI/")
],
% ln -s /path/to/SwiftCLI/ Packages/SwiftCLI-2.0.3
should be fixed now.
I confirm it's fixed. I'd suggest you release an universal build, as the latest available one is Intel only.
i would love a build that works for apple silicon. i am currently neolithically staring at xcode unsure of how to prod it into building this thing so i can convince safari to stop opening the mail app every time i hit cmd+shift+i 😅
this warning from brew install scared me off:
==> Caveats swiftdefaultappsprefpane is built for Intel macOS and so requires Rosetta 2 to be installed. You can install Rosetta 2 with: softwareupdate --install-rosetta --agree-to-license Note that it is very difficult to remove Rosetta 2 once it is installed.
for anyone else bumbling around it's rather critical to realize — ideally sooner than later — that there are submodules
git submodule init
git submodule update
after that, all i had to do was follow the build failure instructions to more or less disable signing in a couple places, including here:
oh and i also had to learn to find the build folder (product > show build folder in finder)
I'm getting this error when trying to compile in XCode:
Am I doing something wrong? It seems the
Package
file is fine and the dependency and the version is availble:.package(url: "https://github.com/Lord-Kamina/SwiftCLI", from: Version("2.0.3+swift5"))