keyword: Mac, Git, macos, Catalina, Version 10.15

Sau khi update phiên bản MacOs Catalina thì bị báo lỗi như sau
『xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)...』
Sau khi cập nhật từ macOS Moạve lên Catalina, máy thường bị lỗi khi thử sử dụng lệnh CLI sau
git
brew upgrade yarn
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Nhập câu lệnh sau để cài đặt lại xcode.
xcode-select --install