mac 업데이트 후git 사용 불가
3560 단어 기타
업데이트 후 오류 발생
오류 프롬프트는 다음과 같습니다.
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
Reason: image not found
git: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
git: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
솔루션 찾기
인터넷에서 다음 명령을 입력했습니다.
sudo xcode-select --switch /Library/Developer/CommandLineTools/
여전히 오류 보고:
xcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools/'
xcode-select 설치
xcode-select --install
알림에 따라 xcode-select를 설치하고 다음 명령을 다시 실행합니다
sudo xcode-select --switch /Library/Developer/CommandLineTools/
실행 완료 후 오류 없음, ok
다른 잘못을 보고하다
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
같은 xcode-select--install 설치, 설치 후 ok
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Github 프로필 Badge로 꾸미기앞으로 열심히 할 예정이니 많은 관심 부탁드립니다 😍😍 나의 머리로는 이해할 수 없는 코드들을 보며 머리가 꺠지려 할 때에, 학교 친구들의 github가 눈에 들어왔습니다. 인터넷에 나온 거로 많이 해 봤고 탬플릿도...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.