title: Error: xcode-select: error: tool 'xcodebuild' requires Xcode
body: <p>I am using <code>Ionic 2</code>. The app builds an Android <code>apk</code> successfully on Windows.</p>
  
  <p>I am now trying to build it for <code>iOS</code> on OSX. When I run:</p>
  
  <pre><code>ionic build ios
  </code></pre>
  
  <p>I get the following:</p>
  
  <p><a href="https://i.stack.imgur.com/kzVRb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kzVRb.png" alt="enter image description here"></a></p>
  
  <p>Any advise appreciated.</p>