{"id":3323,"date":"2019-10-12T07:34:10","date_gmt":"2019-10-11T22:34:10","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=3323"},"modified":"2019-10-13T03:58:12","modified_gmt":"2019-10-12T18:58:12","slug":"brew-upgrade%e3%81%ab%e5%a4%b1%e6%95%97","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/3323","title":{"rendered":"[brew] xcrun error"},"content":{"rendered":"<h3>\u75c7\u72b6<\/h3>\n<p>macOS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3084\u74b0\u5883\u69cb\u7bc9\u76f4\u5f8c\u306b&quot;xcrun&quot;\u304c\u898b\u3064\u304b\u3089\u306a\u3044(missing)\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3002<\/p>\n<pre class=\"lang:sh decode:true \" >$ brew upgrade\r\n==&gt; Upgrading 1 outdated package:\r\nruby-build 20191002 -&gt; 20191004\r\n==&gt; Upgrading ruby-build\r\nxcrun: error: invalid active developer path (\/Library\/Developer\/CommandLineTools), missing xcrun at: \/Library\/Developer\/CommandLineTools\/usr\/bin\/xcrun\r\nError: An exception occurred within a child process:\r\n  CompilerSelectionError: ruby-build cannot be built with any available compilers.\r\nInstall GNU's GCC:\r\n  brew install gcc<\/pre>\n<p><!--more--><\/p>\n<h3>\u539f\u56e0<\/h3>\n<p>Xcode\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u3002\u3082\u3057\u304f\u306f\u3001Xcode\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3078\u306e\u30d1\u30b9\u8a2d\u5b9a\u304c\u5931\u308f\u308c\u305f\u3002<\/p>\n<h3>\u89e3\u6c7a\u65b9\u6cd5<\/h3>\n<p>Xcode\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre class=\"lang:sh decode:true \" >$ xcode-select --install<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 macOS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3084\u74b0\u5883\u69cb\u7bc9\u76f4\u5f8c\u306b&quot;xcrun&quot;\u304c\u898b\u3064\u304b\u3089\u306a\u3044(missing)\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3002 $ brew upgrade ==&gt; Upgrading 1 outdated [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[48,11],"class_list":["post-3323","post","type-post","status-publish","format-standard","hentry","category-memo","tag-homebrew","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=3323"}],"version-history":[{"count":4,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3323\/revisions"}],"predecessor-version":[{"id":3333,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/3323\/revisions\/3333"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=3323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=3323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=3323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}