| 현상

$ /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 명령어 입력

 

| 참고

 

반응형

+ Recent posts