메모용 개발 블로그
  • Home

Categories

  • All Posts116
  • OS35
    • Linux23
    • MacOS8
    • Windows4
  • 데이터베이스3
    • Oracle1
    • Postgresql1
  • Develop26
    • CSS33
    • Go8
    • HTML52
    • Java1
    • JavaScript4
    • React2
    • Svelte2
  • 개발일기10
  • Docker1
  • Git3
  • GitLab12
  • Nginx7
  • 기타16
  • 이 블로그의 오픈소스3
MacOS•2022년 11월 1일

MacOS missing xcrun 에러

Table of Contents

  • MacOS missing xcrun 에러

go 프로젝트를 실행하려는데 다음과 같은 오류가 발생하였다.

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

원인은 MacOS를 최근 Ventura로 업데이트 하면서 발생한 문제이며 다음 명령어로 해결가능하다.

xcode-select --install
image-20221101235735158

설치

image-20221101235753793

동의

image-20221101235825298

어라?..

image-20221101235844722 image-20221102000002921

… 표시 시간은 믿을게 못되고 한 3분걸린 것 같다.

image-20221102000139042

설치 후에는 바로 빌드 후 실행이 정상진행된다.

← Back to all posts