Installation not possible
innoreq opened this issue · comments
Although I'd had loved to install the tool, it is not possible; neither as app, nor via homebrew.
Environment:
MacOS 11.1
Xcode Version 12.3 (12C33)
When installing as App according to the instructions (download, unzip, move to programs, start), no entry for Xcode appears in system settings.
When installing with brew, this message is displayed:
brew install https://raw.githubusercontent.com/MarcoEidinger/SwiftPlantUML/main/swiftplantuml.rb
Traceback (most recent call last):
brew extract
or brew create
and brew tap-new
to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of swiftplantuml formula file from an arbitrary URL is unsupported! (UsageError)
brew extract
or brew create
and brew tap-new
to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of swiftplantuml formula file from an arbitrary URL is unsupported! (UsageError)
Any way to get around this?
Hi,
for installation via homebrew I'll investigate but in the meantime please try workaround as mentioned in #4 (comment)
for installing Xcode extension did you start and closed the app immediately? Do you see other extensions in System Preferences > Extensions > Xcode Source Editor ?
Yes, there are other extensions, but not for Xcode.
Do you have multiple Xcode versions installed? Then this should help.
For me the installation process for https://github.com/MarcoEidinger/SwiftPlantUML-Xcode-Extension works as described (on MacOS 11.1 and Xcode 12.4)
Can you try to install a different Xcode extension (e.g Swiftify) to rule out a general setup issue on your side.
Swiftify has the following recommendation in case Xcode Source Editor is missing from System Preferences
If the Xcode Source Editor is missing from the left pane (see image above), try one of these solutions before resorting to a reinstallation:
In the Applications folder, rename Xcode and then change the name back to Xcode, or move Xcode.app out of the Applications folder, then back in, as described by this Stack Overflow answer.
Move the Xcode app to the Trash and re-install it from the AppStore.
Homebrew installation will work with brew install MarcoEidinger/formulae/swiftplantuml
(PR #7)
For Xcode extension please check my previous comment (#6 (comment)). I assume its a local issue on your side. Otherwise please me know if are able to install other Xcode extensions or not https://github.com/MarcoEidinger/SwiftPlantUML-Xcode-Extension
Closing issue as remaining point (Xcode extension) appears to be user-specific.
In the meantime, there was a macOS update, and an Xcode update, and I move the Xcode app away and back from/to the Application folder. Now, the extension appears and can be activated.