Can't update Xcode 11

XcodeXcode11Macos Catalinaxcode11.2xcode11.1

Xcode Problem Overview


Trying to update from Xcode 11 GM to 11.1 always fail.

I tried moving /Applications/Xcode.app first... nothing works

This is my commerce log:

>2019-10-08 12:29:08+01 leviathan installd[556]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=501 "The package is attempting to install content to the system volume." UserInfo={NSLocalizedDescription=The package is attempting to install content to the system volume.} {

Xcode Solutions


Solution 1 - Xcode

Manual download

>The always working and preferred workaround!

Download directly from Apple:

Then extract and move it where you like. This has so many benefits comparing to AppStore updates. (like the ability to resume download, not replacing the old one, not wasting hidden directories and etc.)

Note that you should use safari to download it.


Force App Store to re-download.

Apple suggested this workaround but many developers (including me)prefer manual download to save a lot of network traffic!

Since This is Known Issues > Xcode may fail to update from the Mac App Store after updating to macOS Catalina. (56061273)

Apple suggest this:

> To trigger a new download you can delete the existing Xcode.app or temporarily change the file extension so it is no longer visible to the App Store.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMycroft CannerView Question on Stackoverflow
Solution 1 - XcodeMojtaba HosseiniView Answer on Stackoverflow