Skip to content

Xcode installation on bots do not include default simulator runtime in the framework #110543

@jmagman

Description

@jmagman

These logs show flutter_internal/ios/xcode/mac and flutter_internal/ios/xcode/ios being installed, but not the corresponding ios_runtime package, which includes the iOS simulator runtime that matches that Xcode version.
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8804806691052681793/+/u/install_xcode/stdout

[P12179 18:58:48.592 action_plan.go:163 I] In root:
[P12179 18:58:48.592 action_plan.go:175 I]   to update:
[P12179 18:58:48.592 action_plan.go:177 I]     flutter_internal/ios/xcode/mac (KsuhkEd8wy6ByBw9GeM1dI6T_zY08dWhbS26q4IGtIMC -> cL0iunZRZxSY8Q0bCLGb-deBZ4ZCLI7fun8EgKGsz7UC)
[P12179 18:58:48.592 action_plan.go:177 I]     flutter_internal/ios/xcode/ios (C0CJehG6krz2kPiqhRtnxEvaN6UV4fbcdQHbtiA4VQoC -> qqL6geMoQuE7y0qAWizc1bnPjFtvavQxC6cn5lSt0DMC)

This is resulting in test failures as the expected simulator runtime is unavailable https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8804806691052681793/+/u/run_plugin_dependencies_test/test_stdout:

[plugin_dependencies_test] [STDOUT] stdout:     xcodebuild: error: The run destination Any iOS Device is not valid for Running the scheme 'Runner'.
[plugin_dependencies_test] [STDOUT] stdout:     	iOS 16.0 is not installed. To use with Xcode, first download and install the platform

When I run the same mac_toolchain command locally (https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8804806691052681793/+/u/install_xcode/execution_details) on a depot_tools checkout from today I do see ios_runtime being installed:

$ mac_toolchain install -kind ios -xcode-version 14a5294e -output-dir test-14a5294e-download/Xcode.app -cipd-package-prefix flutter_internal/ios/xcode '-with-runtime=True'
[P20460 15:02:04.592 action_plan.go:163 I] In root:
[P20460 15:02:04.593 action_plan.go:169 I]   to install:
[P20460 15:02:04.593 action_plan.go:171 I]     flutter_internal/ios/xcode/mac:cL0iunZRZxSY8Q0bCLGb-deBZ4ZCLI7fun8EgKGsz7UC
[P20460 15:02:04.593 action_plan.go:171 I]     flutter_internal/ios/xcode/ios:qqL6geMoQuE7y0qAWizc1bnPjFtvavQxC6cn5lSt0DMC
[P20460 15:02:04.593 client.go:1890 I] Dry run, not actually doing anything.
[P20512 15:02:05.251 action_plan.go:163 I] In root:
[P20512 15:02:05.251 action_plan.go:169 I]   to install:
[P20512 15:02:05.251 action_plan.go:171 I]     flutter_internal/ios/xcode/mac:cL0iunZRZxSY8Q0bCLGb-deBZ4ZCLI7fun8EgKGsz7UC
[P20512 15:02:05.251 action_plan.go:171 I]     flutter_internal/ios/xcode/ios:qqL6geMoQuE7y0qAWizc1bnPjFtvavQxC6cn5lSt0DMC
[P20512 15:02:05.251 instancecache.go:189 I] Using temporary instance cache at /Users/m/xcode-cipd/test-14a5294e-download/Xcode.app/.cipd/tmp/dl_2555098529
 • [fetch 1/2] Fetched flutter_internal/ios/xcode/mac:cL0iunZRZxSY8Q0bCLGb-deBZ4ZCLI7fun8EgKGsz7UC in 81.7s
 • [fetch 2/2] Fetched flutter_internal/ios/xcode/ios:qqL6geMoQuE7y0qAWizc1bnPjFtvavQxC6cn5lSt0DMC in 0.9s
 • [unzip 1/2] Deployed flutter_internal/ios/xcode/mac:cL0iunZRZxSY8Q0bCLGb-deBZ4ZCLI7fun8EgKGsz7UC in 37.2s
 • [unzip 2/2] Deployed flutter_internal/ios/xcode/ios:qqL6geMoQuE7y0qAWizc1bnPjFtvavQxC6cn5lSt0DMC in 2.3s
[P20512 15:04:07.680 client.go:2127 I] All changes applied.
Packages:
  flutter_internal/ios/xcode/ios_runtime:MdZtRSDgehNcVVlroSXWVAaoq6ch3D6bv_r0s_NDgcMC
[P21752 15:04:10.694 action_plan.go:163 I] In root:
[P21752 15:04:10.694 action_plan.go:169 I]   to install:
[P21752 15:04:10.694 action_plan.go:171 I]     flutter_internal/ios/xcode/ios_runtime:MdZtRSDgehNcVVlroSXWVAaoq6ch3D6bv_r0s_NDgcMC
[P21752 15:04:10.694 client.go:1890 I] Dry run, not actually doing anything.
[P21767 15:04:11.177 action_plan.go:163 I] In root:
[P21767 15:04:11.177 action_plan.go:169 I]   to install:
[P21767 15:04:11.177 action_plan.go:171 I]     flutter_internal/ios/xcode/ios_runtime:MdZtRSDgehNcVVlroSXWVAaoq6ch3D6bv_r0s_NDgcMC
[P21767 15:04:11.177 instancecache.go:189 I] Using temporary instance cache at /Users/m/xcode-cipd/test-14a5294e-download/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/.cipd/tmp/dl_1203370802
 • [fetch] Fetched flutter_internal/ios/xcode/ios_runtime:MdZtRSDgehNcVVlroSXWVAaoq6ch3D6bv_r0s_NDgcMC in 141.4s
...

Blocking #110302

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionteam-infraOwned by Infrastructure team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions