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

After unsuccessful unxip, attempts to cancel and re-download fail #546

Open
babbage opened this issue Apr 3, 2024 · 0 comments
Open

After unsuccessful unxip, attempts to cancel and re-download fail #546

babbage opened this issue Apr 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@babbage
Copy link

babbage commented Apr 3, 2024

Describe the bug
The executive summary:
After an apparently failed unxip of a downloaded version of Xcode, cancelling this and restarting from scratch repeatedly failed, including after restarts of the computer. Manually deleting the downloaded .xip file and the version of Xcode (partially or fully unxipped?) found in the cache folder then allowed an install to correctly complete. Xcodes seemed to continue to either rely on or be affected by the (perhaps damaged?) files in the cache folder instead of starting afresh after a failed unxip, despite showing a progress bar indicating a new download is completed.

The story:
Xcodes indicated that the release version of Xcode 15.3 was out, and that I currently only had Xcode 15.2 installed. When I clicked 'Install' the file downloaded and began unxip, but stalled in this process and did not complete even after being left for lengthy periods (e.g., an hour). Somewhere in the process I noted that whereas I had previously been logged in with my developer AppleID in Xcodes I was no longer logged in, so I attempted to do so. After entering my AppleID and password I was prompted as expected with the verification code and entered this. However, the process displayed a spinner and never showed my AppleID as correctly logged in. At some point I force quit the Xcodes app. I verified that I had the latest version of Xcodes installed and I did. I again initiated the Apple ID login process and it again appeared to spin forever. However, after a restart of Xcodes it then showed my AppleID as correctly logged in.

Alongside all of this, including after the successful login and subsequent restarts of the computer, attempting to install Xcode 15.3 continued to repeatedly fail, by getting stuck during the unxip process. Finally, I found the cache folder via settings and manually delete both the downloaded .xip file and the version of Xcode (partially or fully unxipped?) found in the cache folder. An install then proceeded normally.

To Reproduce
Possibly steps above are relevant but I do not have a specific way to reproduce. Unfortunately the (probably?) damaged files were deleted rather than moved when I was trying emptying the cache folder so I do not have copies of these for review.

Expected behavior
After a failed unxip, clicking "Install" that goes though a download process should ensure that any previous copies of files in the cache folder are removed before attempting to download and unxip the fresh version.

Screenshots
None available sorry.

Version

  • OS: MacOS 14.4.1 (23E224)
  • Xcodes: 2.1.2 (26)
@babbage babbage added the bug Something isn't working label Apr 3, 2024
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