巴拉巴拉
小魔仙

Git可视化工具Fork,Library not loaded: @rpath/libswiftCore.dylib问题修复

Fork 安装

官网安装
https://fork.dev/

brew安装

Path:~ ankang$ brew search fork
==> Formulae
fork-cleaner
==> Casks
difffork                   fork ✔                     forklift
Path:~ ankang$ brew case install fork

Fork出错

dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Applications/Fork.app/Contents/Resources/fork_ri
  Reason: image not found
error: "/Applications/Fork.app/Contents/Resources/fork_ri" died of signal 6
error: There was a problem with the editor '"/Applications/Fork.app/Contents/Resources/fork_ri"'.

问题描述
https://forums.swift.org/t/app-crash-in-dyld-library-not-loaded-rpath-libswiftcore-dylib/26729/4
类似于编译运行库缺失,这个运行库从macos10.14.4开始集成,但是macos系统是10.14.2,没有集成所需要的命令库,所以我们需要手动安装该运行库

官方git的issuse相关连接,主要修复内容问题为611
https://github.com/ForkIssues/Tracker/issues/872
https://github.com/ForkIssues/Tracker/issues/611

解决方法:
安装Swift 5 Runtime Support for Command Line Tools
下载地址:
https://support.apple.com/kb/DL1998?locale=en_US

Starting with Xcode 10.2, Swift 5 command line programs you build require the Swift 5 runtime support libraries built into macOS. These libraries are included in the OS starting with macOS Mojave 10.14.4. When running on earlier versions of macOS, this package must be installed to provide the necessary Swift 5 libraries. This package is not necessary for apps with graphical user interfaces.
赞(0) 打赏
如果文章对你有帮助,欢迎你来评价反馈。AgainFly » Git可视化工具Fork,Library not loaded: @rpath/libswiftCore.dylib问题修复

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  • Q Q(选填)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏