Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation not possible #6

Closed
innoreq opened this issue Feb 8, 2021 · 6 comments
Closed

Installation not possible #6

innoreq opened this issue Feb 8, 2021 · 6 comments

Comments

@innoreq
Copy link

innoreq commented Feb 8, 2021

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?

@MarcoEidinger
Copy link
Owner

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 ?

@MarcoEidinger MarcoEidinger self-assigned this Feb 8, 2021
@innoreq
Copy link
Author

innoreq commented Feb 8, 2021

Yes, there are other extensions, but not for Xcode.

@MarcoEidinger
Copy link
Owner

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.

@MarcoEidinger
Copy link
Owner

MarcoEidinger commented Feb 9, 2021

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

@MarcoEidinger
Copy link
Owner

Closing issue as remaining point (Xcode extension) appears to be user-specific.

@innoreq
Copy link
Author

innoreq commented Feb 20, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants