[Mac/Big Sur] VSCode Terminal 버벅거리는 현상 해결 방법

Fix VSCode Terminal Lagging

Big Sur 업데이트?

Big Sur 가 나왔다는 이야기를 듣고 바로 업데이트를 하려고 했지만
찾아보니 Big Sur 업데이트 후 맥이 느려졌다는 글을 많이 봐서 업데이트를 최대한 늦추려고 했음

근데 어쩔 수 없이 업데이트를 해야 하는 상황이 와서 결국 업데이트를 해버림.. (not 클린 설치)

업데이트 후 이것저것 둘러봤는데,

  1. 다크 모드에서 확인 버튼의 글씨가 잘 보이지 않음
  2. 뭔가 상단바가 반투명? 해진 느낌
  3. 생각보다 그렇게 느려지지 않은 속도 (체감상 아주 조금 느리긴 함 ㅎ) 정도……

생각보다 나쁘지 않아서 만족하며 여느 때와 같이 VSCode 를 열고 터미널에서 git pull 을 했는데?
git pull 이라는 글씨를 다 입력할 때 까지 화면 상에 나타나지 않다가 한꺼번에 주르르륵 보이는 거임

ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

하..

그래서 찾아보니 아래의 명령어를 입력하면 해결된다고 해서 터미널에 입력해봄

codesign --remove-signature /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Code\ Helper\ \(Renderer\).app

근데 명령어가 실행되지 않고 에러를 뱉어냄

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app: the codesign_allocate helper tool cannot be found or used

ㅠㅠ 해당 issue 글을 계속 봤는데 나와 같은 에러를 발생한 사람이 없는 것 같아서 해결하지 못함…..

그러던 중 xcode cli 문제일 수도 있다는 글을 보고 xcode cli 를 다시 설치해봄

xcode-select --install

그리고 다시 위의 명령어를 입력했더니 실행됨 !!!!!!!!!!!!!!!!!!

이제 버벅임 현상 없는 VSCode 를 사용하실 수 있습니다… 모두 버그 없는 개발 하시기 바랍니다…

3줄 요약

  1. Big Sur 에서 VSCode Terminal 이 느려지는 현상이 발생함
  2. codesign --remove-signature /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Code\ Helper\ \(Renderer\).app 를 입력하면 해결 됨
  3. 2번의 명령어를 입력했을 때
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app: the codesign_allocate helper tool cannot be found or used

라는 에러가 발생했다면 xcode-select --install 를 이용해 xcode cli 를 설치한 후 다시 입력하면 해결 됨

참고

이 글의 저작권은 Attribution-NonCommercial 4.0 International 라이센스를 따릅니다. Attribution-NonCommercial 4.0 International