2016-07-10 5 views
2

최근에 Xcode 8 베타를 다운로드하여 응용 프로그램에서 교체했습니다. 나는 이미 시도Ionic 빌드 ios가 xcode 8 베타에서 작동하지 않습니다.

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance 
ERROR building one of the platforms: Error: ***/platforms/ios/cordova/build: Command failed with exit code 2 
You may not have the required environment or OS to build this project 
Error: ***/platforms/ios/cordova/build: Command failed with exit code 2 
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23) 
    at emitTwo (events.js:87:13) 
    at ChildProcess.emit (events.js:172:7) 
    at maybeClose (internal/child_process.js:818:16) 
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 

:

1) 이온 플랫폼 RM은 IOS 2) 이온 플랫폼은 IOS

이 몇 가지 조언을 주셔서 감사합니다겠습니까에게 추가 내가 실행할 때 이제 "이온 빌드 IOS는"나는이 오류 . 감사!

답변

2

나는 내 문제를 파악했습니다. Xcode 8 베타 버전을 다운로드하면 "Xcode-beta"라고합니다. 응용 프로그램으로 드래그하여 단순히 이전 Xcode를 삭제했습니다. Ionic이이를 인식하려면 실제로 "Xcode-beta"앱의 이름을 "Xcode"로 변경해야합니다.

0

이 명령을 실행하는 경우 :

export DEVELOPER_DIR="/Applications/Xcode-beta.app/Contents/Developer" 
관련 문제