XcodesOrg / xcodes

The best command-line tool to install and switch between multiple versions of Xcode.
MIT License
3.68k stars 126 forks source link

Cannot find version 13.0 #156

Closed MarcSteven closed 1 year ago

MarcSteven commented 2 years ago

I want to install the latest version about the Xcode , I also installed Xcodes completely, and then run the command line as below: xcodes install 13.0

and then it showed cannot find the version of 13

MattKiazyk commented 2 years ago

Hi @MarcSteven

Does 13.0 show up when you type xcodes list ? If not does xcodes update show it?

Secondly 13.0 RC and 13.0 are the same build, so you have 13.0 RC installed, you can simply rename the app to Xcode-13.0.0 and xcodes will see it.

Let me know if any of those options work for you?

iRILLLL commented 2 years ago

does this work for you?

xcodes update --data-source=apple
MarcSteven commented 2 years ago

Hi @MattKiazyk

Does 13.0 show up when you type xcodes list ? If not does xcodes update show it? It do it cannot do because it has errors-The operation could not be completed. image

Secondly 13.0 RC and 13.0 are the same build, so you have 13.0 RC installed, you can simply rename the app to Xcode-13.0.0 and xcodes will see it.

Let me know if any of those options work for you?

All is not okay to solve the problem.

MarcSteven commented 2 years ago

does this work for you?

xcodes update --data-source=apple

It's not okay to solve the issue

The operation couldn’t be completed. (DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around character 0." UserInfo={NSDebugDescription=Invalid value around character 0.})))) The operation couldn’t be completed. (DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around character 0." UserInfo={NSDebugDescription=Invalid value around character 0.}))))

MarcSteven commented 2 years ago

@MattKiazyk FinallyI download it from App Store . Perhaps that's a bug

thepoppingone commented 2 years ago

It works now, I even downloaded Xcode 13.1 from it, you might want to close this!

MarcSteven commented 2 years ago

But actually it cannot be okay

MattKiazyk commented 1 year ago

Closing this as all the error message was a result of different scenarios with apple accounts. With 1.0 we no longer require that