Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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:

enter image description here

Any advise appreciated.

like image 662
Richard Avatar asked Dec 13 '16 08:12

Richard


1 Answers

You need to configure xcode after installation:

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

enter image description here

like image 194
lima_fil Avatar answered Nov 20 '22 03:11

lima_fil