Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Xcode #608

Open
andrewmarmion opened this issue Sep 9, 2024 · 11 comments
Open

Unable to install Xcode #608

andrewmarmion opened this issue Sep 9, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@andrewmarmion
Copy link

andrewmarmion commented Sep 9, 2024

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)
@andrewmarmion andrewmarmion added the bug Something isn't working label Sep 9, 2024
@darrenallen7
Copy link

+1

@MattKiazyk
Copy link
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.

@andrewmarmion
Copy link
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.

@MattKiazyk
Copy link
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.

@andrewmarmion
Copy link
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.

@zellyk
Copy link

zellyk commented Sep 18, 2024

I am stuck at unarchiving as well for xcode 16.0

@andrewmarmion
Copy link
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.

@TomQDRS
Copy link

TomQDRS commented Oct 7, 2024

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.

@PorterHoskins
Copy link

+1

@bluesky335
Copy link

+1

1 similar comment
@HDT3213
Copy link

HDT3213 commented Dec 18, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants