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, throws permission error. #706

Closed
wvabrinskas opened this issue Apr 4, 2025 · 2 comments
Closed

Unable to install Xcode, throws permission error. #706

wvabrinskas opened this issue Apr 4, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@wvabrinskas
Copy link

wvabrinskas commented Apr 4, 2025

Describe the bug
Unable to install any Xcode. It throws a permission error:

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

However using the CLI works and prompts for my mac password.

To Reproduce
Attempt to install Xcode via the GUI.

Expected behavior
Able to install Xcode via the GUI.

Screenshots

Image

Version

  • OS: Sequoia 15.4
  • Xcodes: 2.4.1
@wvabrinskas wvabrinskas added the bug Something isn't working label Apr 4, 2025
@wvabrinskas
Copy link
Author

After giving Xcodes. Full Disk Access in privacy settings, it was able to install however I got this error now:

/Applications/Xcode-16.1.0.app: a sealed resource is missing or invalid

This could be because of previously failed installs. Going to try different ones.

@wvabrinskas
Copy link
Author

Okay so after restarting Xcodes after that previous error messaage, I installed an Xcode I have never installed before. This actually succeeded but prompted me to install some privledged helper. Mentioned something about it's similar to sudo commands on the cli. I installed it, and the everything works properly again. Not sure why this installation of Xcodes requires Full Disk Access but my other install doesn't on my m4 mac mini running the same OS.

However it's fixed now.

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

1 participant