使用 RVM 安装 ruby 找不到 <CoreFoundation/CFString.h>



键入时

rvm install 2.6.0

我收到此错误:

file.c:23:10: fatal error: 'CoreFoundation/CFString.h' file not found
#include <CoreFoundation/CFString.h>
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~

我在 OSX 10.14.4 上

我安装了最新版本的Xcode(10.2(。

如何修复我的系统?

以下是我在 ruby 邮件列表中的其他帖子的链接:https://rubytalk.org/t/installing-ruby-with-rvm-cannot-find-corefoundation-cfstring-h/74982

打开终端并键入:

open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

相关内容

最新更新