[빌드 오류] xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH 해결 방법

macOS에서 오픈소스 빌드하다 아래와 같이 오류가 나는 경우가 있음.

xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

해당 문제는 macOS의 xcode에서 command line tools PATH설정이 안되어 나오는 것입니다.

Xcode의 [Preferences]클릭후, [Locations]탭을 클릭 후에 Command Line Tools 설정을 하면 문제 해결됩니다.

--

--

DaeHyun Sung(성대현,成大鉉,ソン・デヒョン)

LibreOffice Korean Team,GNU,KDE Contributor,GNOME Foundation Member, My native language is Korean(한국어) My hobby is Learning Language(English,中國語(繁體中文,简体中文),日本語)