Apple Menu > About this Mac > Click "Software Update" - it may be hung because xcode needs the latest version of macOS.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: