Closed
Description
% swiftly
Error: Could not load swiftly's configuration file at /Users/brianhenry/Library/Application Support/swiftly/config.json due to
error: "Error Domain=NSCocoaErrorDomain Code=260 "The file “config.json” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/brianhenry/Library/Application Support/swiftly/config.json, NSUnderlyingError=0x600000cc4ab0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}".
To use swiftly, modify the configuration file to fix the issue or perform a clean installation.
swiftly/install/swiftly-install.sh
Lines 489 to 503 in bcfd843
swiftly/install/swiftly-install.sh
Lines 657 to 659 in bcfd843
Removing the conditionals allows swiftly
to run, but the config is mostly empty:
% cat "/Users/brianhenry/Library/Application Support/swiftly/config.json"
{
"platform": {
"name": "",
"nameFull": "",
"namePretty": "",
"architecture": "aarch64"
},
"installedToolchains": [],
"inUse": null
}
And installing doesn't work:
% swiftly install 5.9
Fetching the latest stable Swift 5.9 release...
Installing Swift 5.9.2
Swift 5.9.2 does not exist, exiting
Metadata
Metadata
Assignees
Labels
No labels