Skip to content

Queue simulator runtimes while the first compatible Xcode installs #895

Open

Description

@anciltech

Description

When installing the first Xcode on a Mac with no active full Xcode, a manual or automatic platform install can immediately show “No selected Xcode. Please make an Xcode active” while the Xcode download continues. This was observed with Xcode 27.3 beta and its iOS 27.3 beta Simulator runtime.

Reproduction

  1. Start installing Xcode on a Mac with no compatible Xcode ready.
  2. Enable automatic download for iOS, or click Install on a platform in the info pane.
  3. The runtime request fails before the Xcode install finishes.

Expected behavior

Start downloading runtimes that have a direct disk-image URL. Queue MobileAsset runtimes that need xcodebuild and continue once a compatible Xcode finishes installing. Installing a platform under an installed, inactive Xcode should work without requiring a global Xcode selection change.

The first Xcode download is in progress while the simulator install reports no active Xcode

Live reinstall on macOS 27.3

Tested a local 4.2.0 build containing both PRs on Apple silicon. Started with no full Xcode installed, Command Line Tools selected, and the iOS and watchOS 27.3 beta runtimes absent. Started Xcode 27.3 beta (27C5020n) with automatic platform downloads enabled.

  • Both platform rows showed Waiting for Xcode to finish installing… while Xcode downloaded and unpacked. Xcode and the runtime rows used the same circled × cancel control.
  • After Xcode was available, both rows switched to Downloading and showed advancing percentages. iOS was observed from 3% to 91%, and watchOS from 10% to 70% before it finished.
  • Both rows finished with Uninstall available and the progress indicators cleared. CoreSimulator reported iOS 27.3 (24C5037i) and watchOS 27.3 (24S5284h) as Ready, with both download processes exited.
  • The optional privileged helper was declined. Xcodes showed a setup notice and then continued the runtime installs using the matching Xcode without a global selection change.

The live run used the fix in PR #897. Regression tests also cover the manual request and retry paths.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions