ユーザ用ツール

サイト用ツール


サイドバー

Index

はじめてのおつかい






DokuWiki整形記法


PlayGround



os:osx

Mac OSX

mojaveにアップデートでgitがエラー

以下のようなエラーで動作しない

% git
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at:/Library/Developer/CommandLineTools/usr/bin/xcrun

以下のコマンド → 同意 → インストール

% xcode-select --install

うまくいかない場合

% sudo xcode-select --reset

OSXのアップグレード時には恒例のエラーらしい………

前述の手段がうまく行かない

「だうんろーどできない」とか言って、うまく行かない

ここから Command Line Tools for Xcode の最新版をダウンローしてインストール

それでも、うまく行かない

% xcrun
xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: 
/Applications/Xcode.app/Contents/Developer/usr/bin/xcrun

なんか、昔からの方のDirにxcrunがある……

sudo xcode-select --switch /Library/Developer/CommandLineTools

これで、Pathを変更して動いた 1)

めも

よく入れるもの

environment

  • karabiner-Elements:キーバーインドを変更
  • shiftit:ウインドウを整列させる
  • Scroll Reverser:トラックパッドとマウスのスクロール方向を逆に設定
  • alfred:ランチャーアプリ
  • HyperSwitch:Window単位で切り替え2)
1)
まいど、まいど、これは勘弁してほしいなぁ
2)
Witchという有料版の物もあり
os/osx.txt · 最終更新: 2020/11/12 10:44 by hayashi