Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't update Xcode 11 [closed]

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.} {

like image 723
Mycroft Canner Avatar asked Oct 08 '19 11:10

Mycroft Canner


People also ask

How do I update Xcode 11 on Mac?

Downloading and updating XcodeThe 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.

How do I upgrade Xcode 11 to 12 on Mac?

Open the Mac App Store app. Search for “xcode” in the search field, at the top-left. Click on the Xcode app item that appears. Click on the Get or Install buttom at the top-right to download and install Xcode.

How do I update Xcode on Mac without App Store?

The normal way you upgrade Xcode via direct download is to download the new version, extract it from the XIP, and drag it into Applications. Are you having a problem with that? There is no patch-in-place; you just download the new version.


1 Answers

Manual download

The always working and preferred workaround!

Download directly from Apple:

  • Latest Release version or
  • Latest Beta version or
  • Any version you need and all other downloadable contents

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.

like image 150
Mojtaba Hosseini Avatar answered Sep 22 '22 23:09

Mojtaba Hosseini