Error: xcode-select: error: tool 'xcodebuild' requires Xcode

可紊 提交于 2020-06-25 04:20:05

问题


I am using Ionic 2. The app builds an Android apk successfully on Windows.

I am now trying to build it for iOS on OSX. When I run:

ionic build ios

I get the following:

Any advise appreciated.


回答1:


You need to configure xcode after installation:

Open xcode, go to > preferences > locations (tab) > command line tools (dropdown) > set latest version.



来源:https://stackoverflow.com/questions/41116584/error-xcode-select-error-tool-xcodebuild-requires-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!