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

Simply not working #243

Closed
lordzsolt opened this issue Nov 15, 2022 · 15 comments
Closed

Simply not working #243

lordzsolt opened this issue Nov 15, 2022 · 15 comments

Comments

@lordzsolt
Copy link

lordzsolt commented Nov 15, 2022

When I try to download any version:

  • it downloads about 100KBs of it
  • considers it 100%
  • then fails with the error: The archive "Xcode-14.0.0+14A309.xip" is damaged and can't be expanded.

I have tried both with the CLI and the Xcodes app.
(Both of them were installed through Homebrew)

When I run it from the CLI, I see the following output:

xcodes install --latest --experimental-unxip
Updating...
Latest non-prerelease version available is 14.1

Downloading with aria2

(2/6) Unarchiving Xcode (This can take a while)
Using experimental unxip. If you encounter any issues, remove the flag and try again
zsh: trace trap  xcodes install --latest --experimental-unxip

I presume the last line is the issue?

EDIT:

  • I have tried with and without aria2
  • I have tried with and without --experimental-unxip
  • I have tried multiple Xcode versions
@sebsto
Copy link

sebsto commented Nov 15, 2022

Looks like Apple closed the loophole allowing to download without authentication. The downloaded file is an HTML error page.

@lordzsolt
Copy link
Author

lordzsolt commented Nov 15, 2022

Is there anything I can do to authenticate?

I have logged in the Xcodes app before pressing Install, and it still produced the same output.

Edit:

  • I have tried setting XCODES_USERNAME and XCODES_PASSWORD but they seem to be ignored

@michaeleisel
Copy link

+1 for this, I got the same error, then tried using XCODES_USERNAME and XCODES_PASSWORD and still got the same error

@MattKiazyk
Copy link
Contributor

@sebsto @lordzsolt @michaeleisel What are your Mac OS's?

These errors seem to be all Ventura

@cltnschlosser
Copy link

cltnschlosser commented Nov 15, 2022

Seeing it now on 12.6.1. 2020 M1 mac mini

	<title>Unauthorized - Apple Developer</title>
	<meta name="omni_page" content="Unauthorized" />
	<meta name="Description" content="The page you requested does not exist.">

@cltnschlosser
Copy link

It could be an apple issue because xcode-select --install was also giving me issues.

@lordzsolt
Copy link
Author

@MattKiazyk Yup, Ventura 13.0.1

@lordzsolt
Copy link
Author

It could be an apple issue because xcode-select --install was also giving me issues.

No issues with xcode-select --install on my side (besides it being awfully slow)

@michaeleisel
Copy link

I'm on 12.6

@MattKiazyk
Copy link
Contributor

It's looking like Apple changed something so I now can't get a token the way I was to download. I'm looking into it.

@MattKiazyk MattKiazyk pinned this issue Nov 15, 2022
@MattKiazyk
Copy link
Contributor

Workaround (unfortunately) at the moment is

xcodes update --data-source apple
xcodes install 14.0.1 --data-source apple

which will use the original way of Apple creds to get the token in order to download.

Sorry everybody, looks like Apple may have stopped our new way of getting a token 😢

@vilanovi
Copy link

I use xcodes 1.5.0 and it's working. However, on version 1.8.0 we are having the issue.

@rogerluan
Copy link
Contributor

I really hope this is just a temporary issue on Apple's end 😬 Being forced to authenticate to download Xcode is just terrible 😞

I will check with my network to see if anyone has any insight within Apple so we know whether this is a temporary issue or a permanent change they made intentionally 🙏

@sebsto
Copy link

sebsto commented Nov 17, 2022

I think the authless download was unintentional in the first place. They just fixed a bug this week

@MattKiazyk
Copy link
Contributor

Xcodes 1.2 was released tonight - It adds back the requirement of apple login for xcodereleases data source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants