title: Cannot update xcode on AppStore
body: <p>I just upgraded from Sierra to High Sierra And I met this problem which is i cannot Update xcode. When i click on update it shows loading symbol on top starts animating and nothing happen.</p>
  
  <p><a href="https://i.stack.imgur.com/gNLrS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gNLrS.png" alt="enter image description here"></a></p>
  
  <p>I tried this:</p>
  
  <pre><code>sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist RecommendedUpdates
  sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist DidRegisterLocalUpdates
  sudo rm /Library/Updates
  rm -rf ~/Library/Caches/com.apple.SoftwareUpdate/
  </code></pre>
  
  <p>Any help?</p>