XcodesApp
XcodesApp copied to clipboard
Installation of iOS runtime fails with dataCorrupted error after XCode 15/iOS 17 Beta 2 release
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:
- Open a terminal
- Run any of 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
- Notice the following error:
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
- OS: 13.4
- Xcodes: 1.3.0
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