Skip to content

Install failed; xip is damaged and can't be expanded #458

Open

Description

@KVSRoyal

I am unable to install Xcode 26.1:

sudo env PATH=$PATH xcodes install 26.1

(1/6) Found existing archive that will be used for installation at /Users/me/Library/Application Support/com.robotsandpencils.xcodes/Xcode-26.1.0+17B55.xip.
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
The archive "Xcode-26.1.0+17B55.xip" is damaged and can't be expanded.
Removing damaged XIP and re-attempting installation.


Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)
(1/6) Downloading Xcode 26.1.0+17B55: 100%
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
The archive "Xcode-26.1.0+17B55.xip" is damaged and can't be expanded.

Environment Info

  • Apple M1 Max
  • MacOS 15.7.2
  • xcodes installed through homebrew
  • I have to use sudo due to security measures on my device that I can't do anything about. It hasn't caused any issues in the past.
  • Up until now, the xcodes install command has worked perfectly for me (past 3-ish years).

Activity

  1. phantomato commented on Jan 21, 2026

    @phantomato

    I am unable to install Xcode 26.1:

    sudo env PATH=$PATH xcodes install 26.1
    
    (1/6) Found existing archive that will be used for installation at /Users/me/Library/Application Support/com.robotsandpencils.xcodes/Xcode-26.1.0+17B55.xip.
    (2/6) Unarchiving Xcode (This can take a while)
    Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
    The archive "Xcode-26.1.0+17B55.xip" is damaged and can't be expanded.
    Removing damaged XIP and re-attempting installation.
    
    
    Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)
    (1/6) Downloading Xcode 26.1.0+17B55: 100%
    (2/6) Unarchiving Xcode (This can take a while)
    Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
    The archive "Xcode-26.1.0+17B55.xip" is damaged and can't be expanded.
    

    Environment Info

    • Apple M1 Max
    • MacOS 15.7.2
    • xcodes installed through homebrew
    • I have to use sudo due to security measures on my device that I can't do anything about. It hasn't caused any issues in the past.
    • Up until now, the xcodes install command has worked perfectly for me (past 3-ish years).

    Looks like xcodereleases.com is pointing to a corrupt URL https://download.developer.apple.com/Developer_Tools/Xcode_26.1/XcodeXIP_26.1_Universal.xip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions