You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Version
OS: 14.6.1 (23G93)
Xcodes: 2.20 (27)
Reacted by Yuki Kokubun, bvynohradov, Thomas Hormes, iamIlyaAlex, Masatoshi Kubode, Bryan Anderson, Nick and finley
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.
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.
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.
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.
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.
Reacted by Filip Bajaník, istefanovics, Malu Fornagieri, Andrey Zheglov and Nick Jordan
Activity
darrenallen7 commentedon Sep 10, 2024
+1
MattKiazyk commentedon Sep 10, 2024
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 commentedon Sep 11, 2024
@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.
That was my thought too.
MattKiazyk commentedon Sep 11, 2024
Workaround would be to grab the
.xipfrom the~/Users/xxx/Library/Application support/com.robotsandpencils.xcodesappdirectory and manually unxip and move it.If it worked 2 days ago and not now hopefully nothing major has changed. I did
16.0 RCwith no problems on Monday. I also did16.1 betathis morning without issue.andrewmarmion commentedon Sep 11, 2024
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 commentedon Sep 18, 2024
I am stuck at unarchiving as well for xcode 16.0
andrewmarmion commentedon Sep 18, 2024
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
.xipmanually 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.tomsqrd commentedon 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 commentedon Oct 16, 2024
+1
bluesky335 commentedon Nov 26, 2024
+1
HDT3213 commentedon Dec 18, 2024
+1