Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot be installed via Homebrew on Mojave #10

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

Closed
viplezer opened this issue Sep 26, 2018 · 4 comments
Closed

Cannot be installed via Homebrew on Mojave #10

viplezer opened this issue Sep 26, 2018 · 4 comments
Labels

Comments

@viplezer
Copy link

viplezer commented Sep 26, 2018

I am trying to install SourceDocs via Homebrew on OSX Mojave and keep getting the following errors:

BUD-MAC-203:liligo-reborn viktor.plezer$ brew install eneko/tap/sourcedocs
==> Installing sourcedocs from eneko/tap
==> Downloading https://github.com/eneko/SourceDocs/archive/0.5.0.tar.gz
Already downloaded: /Users/viktor.plezer/Library/Caches/Homebrew/downloads/b8e719535511822a9f8eac2678de3a7d6d461281c0f7a86ee69346094c4f5b1b--SourceDocs-0.5.0.tar.gz
==> Building SourceDocs
==> swift build --disable-sandbox -c release -Xswiftc -static-stdlib
Last 15 lines from /Users/viktor.plezer/Library/Logs/Homebrew/sourcedocs/01.swift:
/private/tmp/sourcedocs-20180926-32065-q3lt60/SourceDocs-0.5.0/.build/checkouts/SourceKitten.git--835485570352228582/Source/SourceKittenFramework/library_wrapper_sourcekitd.swift:63:95: warning: using '!' is not allowed here; treating this as '?' instead
internal let sourcekitd_response_description_copy: @convention(c) (sourcekitd_response_t) -> (UnsafeMutablePointer<Int8>!) = library.load(symbol: "sourcekitd_response_description_copy")
                                                                                              ^                         ~
                                                                                                                        ?
/private/tmp/sourcedocs-20180926-32065-q3lt60/SourceDocs-0.5.0/.build/checkouts/SourceKitten.git--835485570352228582/Source/SourceKittenFramework/library_wrapper_sourcekitd.swift:66:93: warning: using '!' is not allowed here; treating this as '?' instead
internal let sourcekitd_variant_description_copy: @convention(c) (sourcekitd_variant_t) -> (UnsafeMutablePointer<Int8>!) = library.load(symbol: "sourcekitd_variant_description_copy")
                                                                                            ^                         ~
                                                                                                                      ?
/private/tmp/sourcedocs-20180926-32065-q3lt60/SourceDocs-0.5.0/.build/checkouts/SourceKitten.git--835485570352228582/Source/SourceKittenFramework/library_wrapper_sourcekitd.swift:67:98: warning: using '!' is not allowed here; treating this as '?' instead
internal let sourcekitd_variant_json_description_copy: @convention(c) (sourcekitd_variant_t) -> (UnsafeMutablePointer<Int8>!) = library.load(symbol: "sourcekitd_variant_json_description_copy")
                                                                                                 ^                         ~
                                                                                                                           ?
error: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /private/tmp/sourcedocs-20180926-32065-q3lt60/SourceDocs-0.5.0/.build/release.yaml main output:
    


If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/eneko/homebrew-tap/issues
@eneko
Copy link
Collaborator

eneko commented Sep 26, 2018

@plezervi Thank you, will take a look, hoping it is something trivial to fix.

@eneko
Copy link
Collaborator

eneko commented Sep 26, 2018

@plezervi please try with 0.5.1 to see if it works. Thank you.

eneko added a commit that referenced this issue Sep 26, 2018
- Fix: Cannot be installed via Homebrew on Mojave (#10)
@eneko eneko added the bug label Sep 26, 2018
@viplezer
Copy link
Author

Hey @eneko thanks for the rapid fix, the installation works as expected!

@eneko
Copy link
Collaborator

eneko commented Sep 27, 2018

Glad to hear! Thank you for using SourceDocs :)

@eneko eneko closed this as completed Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants