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