Xcode 11.6 xip can't be expanded error in Mac Big Sur 11.0.1

Recently upgraded to Mac OS Big Sur 11.0.1

We need to use Xcode 11.6 for our development.

Downloaded Xcode_11.6.xip file from https://developer.apple.com/download/more/?q=xcode

Getting the following error while trying to expand Xcode_11.6.xip using Archive Utility:

The archive "Xcode_11.6.xip" is damaged and can't be expanded.

Have tried downloading the same file multiple times. Get the same error always.

Also, getting the same error with another file - Xcode_12.0.1.xip

Also, tried to verify signature as mentioned at End-of-central-directory signature not found. when installing Xcode 8 beta xip file

Getting the following error:
Code Block
$ pkgutil --verbose --check-signature ./Xcode_11.6.xip
Package "Xcode_11.6.xip":
  Status: package is invalid (checksum did not verify)
$ pkgutil --verbose --check-signature ./Xcode_12.0.1.xip 
Package "Xcode_12.0.1.xip":
  Status: package is invalid (checksum did not verify)


Please let me know if others have faced a similar issue? Looking for a way out to resolve this blocker. Any suggestions, please? Do I need to downgrade to Catalina to install Xcode_11.6.xip?


Found that the xip file was damaged since I had used various download managers to download the file (that splits the file for faster downloads).

Used Safari browser to download the xip file without using any download manager. Was able to now expand xip archive without issues. Hope this saves time for someone else in case they face a similar issue.
Xcode 11.6 xip can't be expanded error in Mac Big Sur 11.0.1
 
 
Q