{"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/tmg1998/","type":"rich","width":"100%","url":"https://tmg0525.hatenadiary.jp/entry/2018/01/11/221410","version":"1.0","blog_title":"TIL","author_name":"tmg1998","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftmg0525.hatenadiary.jp%2Fentry%2F2018%2F01%2F11%2F221410\" title=\"gcc\u30b3\u30de\u30f3\u30c9\u3067 invalid active developer path \u3063\u3066\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u306e\u5bfe\u51e6 - TIL\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"height":"190","title":"gcc\u30b3\u30de\u30f3\u30c9\u3067 invalid active developer path \u3063\u3066\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u306e\u5bfe\u51e6","categories":["\u30a8\u30e9\u30fc\u5bfe\u5fdc","macOS","Linux\u30b3\u30de\u30f3\u30c9"],"published":"2018-01-11 22:14:10","blog_url":"https://tmg0525.hatenadiary.jp/","description":"gcc\u3067C\u8a00\u8a9e\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f $ gcc hello.c xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcode-select \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u3044\u3044\u3089\u3057\u3044 $ xcode-select --install \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86\u5f8c\u3001\u518d\u5ea6\u3001gcc\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066\u307f\u308b\u3068\u4f7f\u3048\u3066\u3044\u308b\u3063\u307d\u3044 $ gcc \u2026"}