NSHipster / SwiftSyntaxHighlighter

A syntax highlighter for Swift code that uses SwiftSyntax to generate Pygments-compatible HTML.
https://nshipster.com/swiftsyntax/
MIT License
276 stars 12 forks source link

Installation on Big Sur via Homebrew failed #12

Closed svanimpe closed 3 years ago

svanimpe commented 3 years ago

with the following error:

[8/9] Compiling SwiftSyntaxHighlighter SwiftSyntaxHighlighter.swift
[9/10] Compiling swift-highlight main.swift
ld: warning: dylib (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib) was built for newer macOS version (10.12) than being linked (10.10)
[10/10] Linking swift-highlight
install: /private/tmp/swift-syntax-highlight-20201219-3997-1mtdrat/.build/release/swift-syntax-highlight: No such file or directory
make: *** [install] Error 71

I'm using Swift 5.3.2

mattt commented 3 years ago

@svanimpe This should now be fixed with version 1.2.0.