Skip to content

Unable to install Xcode #608

Open
Open

Description

@andrewmarmion

Describe the bug
When trying to install a version of Xcode, Xcodes fails in the extracting process with the following error message:

The operation couldn’t be completed. (ProcessExecutionError(process: <NSConcreteTask: 0x600001c92120>, standardOutput: "xip: signing certificate was "Software Update" (validation not attempted)\n", standardError: "xip: error: The archive “Xcode-16.1.0-Beta+16B5001e.xip” failed to be moved to the final destination due to the error: The operation couldn’t be completed. Operation not permitted.\n"))

I am able to download the same version of Xcode from the developer.apple.com without issue.

To Reproduce
Try to install Xcode version from list in panel.

Expected behavior
I would expect that the extraction would happen without issue and the the version of Xcode would be installed.

Screenshots

CleanShot 2024-09-09 at 10 04 38

Version

  • OS: 14.6.1 (23G93)
  • Xcodes: 2.20 (27)

Activity

  1. added
    bug
    on Sep 9, 2024
  2. darrenallen7 commented on Sep 10, 2024

    @darrenallen7

    +1

  3. MattKiazyk commented on Sep 10, 2024

    @MattKiazyk
    Contributor

    Just curious if you have Xcodes running from /Applications?

    A guess would be its saying it doesn't have permission to move the app after it's done unxipping.

  4. andrewmarmion commented on Sep 11, 2024

    @andrewmarmion
    Author

    @MattKiazyk Xcodes is running from /Applications.

    It was working fine until 2 days ago when I went to download the latest betas to do some testing. I tried uninstalling Xcodes and reinstalling but it didn't make a difference. I got the same error.

    A guess would be its saying it doesn't have permission to move the app after it's done unxipping.

    That was my thought too.

  5. MattKiazyk commented on Sep 11, 2024

    @MattKiazyk
    Contributor

    Workaround would be to grab the .xip from the ~/Users/xxx/Library/Application support/com.robotsandpencils.xcodesapp directory and manually unxip and move it.

    If it worked 2 days ago and not now hopefully nothing major has changed. I did 16.0 RC with no problems on Monday. I also did 16.1 beta this morning without issue.

  6. andrewmarmion commented on Sep 11, 2024

    @andrewmarmion
    Author

    Sorry I should clarify, that I only tried to use it again 2 days ago. Last time I had used it to install a version of Xcode would have been back in May when 15.4 came out. I had no issues then. When I tried to use it two days ago it obviously didn't work.

    I'll use the work around for now.

  7. zellyk commented on Sep 18, 2024

    @zellyk

    I am stuck at unarchiving as well for xcode 16.0

  8. andrewmarmion commented on Sep 18, 2024

    @andrewmarmion
    Author

    What is strange is that it worked on Monday, after I updated to macOS Sequoia and downloaded the final version of Xcode 16. However, it failed when trying to extract the 16.1 Beta 2.

    I followed @MattKiazyk suggestion and went to grab the .xip manually from the folder it was downloaded to. Rather than extracting it, I decided to delete the downloaded xips in the folder and try it again from Xcodes. This time it worked and extracted it copying it without issue to the Applications folder.

  9. tomsqrd commented on Oct 7, 2024

    @tomsqrd

    I just encountered this issue too. Since this seems to be a permission issue, I looked through my mac settings for a quick solution. I was able to work around this issue by going to Settings -> Privacy & Security -> Full Disk Access and adding Xcodes there. I am on MacOS Sonoma 14.7.

  10. PorterHoskins commented on Oct 16, 2024

    @PorterHoskins

    +1

  11. bluesky335 commented on Nov 26, 2024

    @bluesky335

    +1

  12. HDT3213 commented on Dec 18, 2024

    @HDT3213

    +1

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions