{"id":1153,"date":"2016-11-17T08:22:56","date_gmt":"2016-11-16T23:22:56","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=1153"},"modified":"2020-09-17T08:57:26","modified_gmt":"2020-09-16T23:57:26","slug":"xcode-select","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/1153","title":{"rendered":"xcode-select"},"content":{"rendered":"<h4>\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30c7\u30d9\u30ed\u30c3\u30d1\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8868\u793a\u3059\u308b<\/h4>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ xcode-select --print-path\r\n\/Applications\/Xcode.app\/Contents\/Developer<\/pre>\n<p>&nbsp;<\/p>\n<h4>\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30c7\u30d9\u30ed\u30c3\u30d1\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u5207\u308a\u66ff\u3048\u308b<\/h4>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ sudo xcode-select --switch \/Application\/Xcode.app\/Contents\/Developer<\/pre>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ sudo xcode-select --switch \/Application\/Xcode8.1.app\/Contents\/Developer<\/pre>\n<p>&nbsp;<\/p>\n<h4>\u30c7\u30d5\u30a9\u30eb\u30c8\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u30ea\u30bb\u30c3\u30c8\u3059\u308b<\/h4>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ sudo xcode-select -r<\/pre>\n<p>(App Store\u304b\u3089)Xcode\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u305f\u3042\u3068\u306f\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3067CLI\u3067\u53c2\u7167\u3059\u308bXcode\u306e\u30d1\u30b9\u3092\u5207\u308a\u66ff\u3048\u308b\u306e\u304c\u7c21\u5358\uff01<\/p>\n<p>&nbsp;<\/p>\n<h4>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u958b\u304f<\/h4>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ sudo xcode-select --install<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30c7\u30d9\u30ed\u30c3\u30d1\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8868\u793a\u3059\u308b $ xcode-select &#8211;print-path \/Applications\/Xcode.app\/Contents\/Developer &nbsp; \u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30c7\u30d9\u30ed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[11],"class_list":["post-1153","post","type-post","status-publish","format-standard","hentry","category-memo","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1153","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=1153"}],"version-history":[{"count":7,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1153\/revisions"}],"predecessor-version":[{"id":3779,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/1153\/revisions\/3779"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=1153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=1153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=1153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}