Open macalzad opened 1 year ago
I see this is an error around com.apple.platform.xros, which is the name for visionOS, and that @LavareX's changes in #400 are working on adding visionOS support... Would that fix this issue?
Checking back on this issue, I think this was mistakenly opened against the wrong project. This is issue was opened in the XcodesApp
project, but all of the description of the issue was about the xcodes
command line tool.
https://github.com/XcodesOrg/xcodes
Describe the bug: Starting from the release of XCode 15/iOS 17 Beta 2, the installation process for the iOS runtime is now failing. When trying to install or list available runtimes, the error
Cannot initialize Platform from invalid String value com.apple.platform.xros
is thrown. This happens when running the following commands:/usr/local/bin/xcodes runtimes install "iOS 17.0-beta1"
/usr/local/bin/xcodes runtimes
/usr/local/bin/xcodes runtimes --include-betas
To Reproduce:
/usr/local/bin/xcodes runtimes install "iOS 17.0-beta1"
/usr/local/bin/xcodes runtimes
/usr/local/bin/xcodes runtimes --include-betas
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "sdkToSeedMappings", intValue: nil), _PlistKey(stringValue: "Index 51", intValue: 51), CodingKeys(stringValue: "platform", intValue: nil)], debugDescription: "Cannot initialize Platform from invalid String value com.apple.platform.xros", underlyingError: nil))
Expected behavior: These commands should run without errors and either install the specified runtime or list the available runtimes.
Version