Skip to content

Installation of iOS runtime fails with dataCorrupted error after XCode 15/iOS 17 Beta 2 release #401

@macalzad

Description

@macalzad

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:

  1. Open a terminal
  2. 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
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions