As an iOS developer you need to periodically update your Xcode, on your own machine and on your CI/CD server if you automate your development workflow. There are multiple ways to do this so do not waste your time and use the fastest way possible.
All downloads are hosted by Apple. Links on this site take you directly to Apple’s download pages. This is not an official Apple website. Please consider donating to help maintain it.
Forget Mac App Store, use Apple Developer Portal
Download Xcode for macOS 10.15.4 or later and enjoy it on your Mac. Xcode includes everything developers need to create great applications for Mac, iPhone, iPad, Apple TV, and Apple Watch. Xcode provides developers a unified workflow for user interface design, coding, testing, and debugging. Download Xcode 7.3 For Mac Note: Now requires OS X 10.11 or later. IOS and OS X playgrounds in Xcode are interactive and respond to user-generated events such as button clicks and iOS gestures. 8/10 (40 votes) - Download Xcode Mac Free. Download Xcode for free to develop your own applications for Mac OS X and iOS. Xcode is an integrated development environment (IDE) for Apple computers. Xcode is an integrated development environment (IDE) that offers developers all the tools necessary.
Installing Xcode from the Mac App Store might seem like a convenient way to do so but it is too slow and inflexible. You cannot use the Mac App Store to install multiple version of Xcode at the same time if you need them, like when testing with a Xcode beta for an upcoming iOS release. Download from the Mac App Store is incredibly slow and sometimes not even available for days after release (like 11.2.1).
The place to go is the Apple Developer Portal where you can find all the Xcode versions, including the betas.
Faster download with aria2
Downloading Xcode from the Apple Developer Portal is faster than using the Mac App Store, but it can be made even better. You just need to use the right tools.
Install aria2
from Homebrew and uses this Ruby script from Ian Dundas:
This script downloads the given Xcode by URL from the Apple Developer Portal, but uses up to 16 separate connections to do so. You will see a significant download speed improvement.
Make sure you use the “More” site at https://developer.apple.com/download/more/ even for downloading the latest version of Xcode.
When copying the ADCDownloadAuth
cookie make sure you copy the correct value, Safari adds all kinds stuff around it when you just use “copy value”.
Faster install with xip
and deleting previous Xcode first
When you install the Xcode xip file you need to extract it. You can double click it in Finder and wait or you can use
Using xip
from the command line is much faster because it does not verify the file signature like double clicking in Finder. Of course this is a potential security risk, so it is up to you to decide if it is worth it.
Another trick is not to drag the extracted Xcode.app
to /Applications
immediately but delete the existing /Applications/Xcode.app
first. I guess this is related to Finder first getting the list of those thousands of files in the Xcode.app
before the update.
See also
Inspired by a Gist from kevinelliott - thanks!
Install from App Store
- Xcode - for command line tools required by Homebrew
Install from Third-Party Websites
Xcode Command Line Tools
Need to be installed for all the fne stuff in the latest section
Xcode > Preferences > Downloads > Command Line Tools
or
Nikon photo download app. Download chrome 80 for mac. Run Xcode and accept the license! Homebrew can not install properly until this occurs.
Install Homebrew
If this is not a fresh install of Homebrew, go ahead and purge the complete installation first:
Now install Homebrew
Install common libraries via Homebrew
Install Cask application manager
Install applications via Homebrew Cask
The following software is still in testing and not part of my default setup:
Install Chrome extensions
Some extensions are not pulled from your Google account, so re-install theam manully now:
Firefox profiles
TODO make sure the profiles are registered
Xcode For Mac 10.11
After setting all the preferences, you need to reboot or at least restart Finder:
If you are curious, check this file for more possible settings.
Setup Github
Download Xcode 12
Docker
Database
Ruby & Gems
Prepare a sandboxed ruby environment
within we install some gems
Vagrant and plugins
Xcode For Mac Os
Install custom .dotfiles at the end, cause we utilize some of the previously installed packages