jazzy: Library not loaded: @rpath/libswiftCore.dylib sourcekitten
I did uninstall of jazzy, updated gem, but nothing working
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /usr/local/var/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/jazzy-0.1.0/lib/jazzy/sourcekitten/sourcekitten
Reason: image not found
/usr/local/var/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/jazzy-0.1.0/lib/jazzy/sourcekitten.rb:51:in `run_sourcekitten': Running `/usr/local/var/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/jazzy-0.1.0/lib/jazzy/sourcekitten/sourcekitten doc` failed: (RuntimeError)
from /usr/local/var/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/jazzy-0.1.0/lib/jazzy/doc_builder.rb:55:in `build'
from /usr/local/var/rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/jazzy-0.1.0/bin/jazzy:15:in `<top (required)>'
from /usr/local/var/rbenv/versions/2.1.5/bin/jazzy:23:in `load'
from /usr/local/var/rbenv/versions/2.1.5/bin/jazzy:23:in `<main>'
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 24 (7 by maintainers)
Seems that for some reason, RubyGems is not downloading the symlink
Current -> A
inside oflib/jazzy/sourcekitten/SourceKittenFramework.framework
, which is why therpath
is failing (as it expects../Versions/Current/Frameworks
). This may not have been noticed before if you have installed SourceKitten standalone, as it installs the neededdylib
s at/Library/Frameworks/SourceKittenFramework.framework/Versions/Current/Frameworks
which is another validrpath
(can check viaotool -l
on the SourceKitten binary).0.0.20
works fine, this is new since SourceKittens Makefile and install structure has changed a bunch.For those who need a quick work around in the meantime.