Xcode is a complete developer toolset for creating apps for Mac, iPhone, iPad, Apple Watch, and Apple TV. Xcode brings user interface design, coding, testing, debugging, and submitting to the App Store all into a unified workflow.
Downloading and Updating Xcode
The current release of Xcode is available as a free download from the Mac App Store. The Mac App Store will notify you when an update is available or you can have macOS update automatically as it becomes available.
The latest beta version and previous versions of Xcode can be downloaded from the Downloads page. To download Xcode, simply sign in with your Apple ID. Apple Developer Program membership is not required.
To learn about the latest features and capabilities in Xcode, see What’s New in Xcode. For detailed information on updates in the latest released versions, including each beta release, see the Xcode Release Notes.
Get step-by-step guidance on how to use Xcode to build, test, and submit apps to the App Store.
- Distribute an app using TestFlight
- Distribute to registered devices
- Distribute to registered Mac computers
- Develop and distribute enterprise apps
- Distribute outside the Mac App Store
- App thinning overview
- Distribute through the App Store
- Crashes organizer
- Energy organizer
- Continuous integration overview
Providing Feedback and Reporting Bugs
Your feedback goes a long way towards making Xcode even better. With Apple Bug Reporter, you can report issues or request enhancements to APIs and tools. Include detailed information about issues, including the system and developer tools version information, and any relevant crash logs or console messages. To provide feedback or ask questions, post your questions and comments on the Apple Developer Forums.
Submitting Apps to the App Store using Xcode
If you’re an Apple Developer Program member, Xcode provides an integrated workflow to prepare and submit apps to App Store. You should use the latest version of Xcode available on the Mac App Store to submit your apps, or when available, the latest GM seed release from the Downloads page.
Do not submit apps built using beta software, as beta versions of Xcode, Operating Systems, and SDKs are for development and testing only.
Invalid Private Key and Certificate Pairing
If you received an error message saying, "Xcode could not find a valid private-key/certificate pair for this profile in your keychain." This error message indicates that the Keychain Access application on your Mac is missing either the public or private key for the certificate you are using to sign your app.
This often happens when you are trying to sign and build your app from a different Mac than the one you originally used to request your code signing certificate. It can also happen if your certificate has expired or has been revoked. Ensure that your app’s provisioning profile contains a valid code signing certificate, and that the Keychain Access application on your Mac contains that certificate, the private key originally used to generate that certificate, and the WWDR Intermediate Certificate.
For instructions on how to resolve this and other code signing errors, review the Code Signing Support page.
Apple Security Updates
For information on the security content of Xcode updates, visit the Apple security updates page.