| 현상
$ /usr/bin/agvtool new-marketing-version 0.1
xcode-select: error: tool 'agvtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
FATAL: Could not set CFBundleShortVersionString to: 0.1
Build step 'Conditional step (single)' marked build as failure
| 원인
Xcode 설치 과정에서 경로가 잘못 설정되었을 경우 해당 에러 발생
| 해결방법
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Xcode가 설치된 경로에 xcode-select 명령어 입력
| 참고
반응형
'Workspace > iOS' 카테고리의 다른 글
Provision UUID 얻기 (0) | 2023.08.21 |
---|---|
[iOS] Ad hoc 배포를 위한 iOS 기기 등록 (0) | 2023.03.24 |
[iOS] 앱 설치 후, 신뢰할 수 없는 기업용 App 개발자 팝업과 함께 앱 실행이 안되는 경우 (0) | 2023.03.24 |