continuous-integration: macOS upgrade causes some build breakages
We recently updated macOS to 15.3.1 and Xcode 16.1 for all macOS VMs on Bazel CI.
https://buildkite.com/bazel/rules-apple-darwin/builds/10138#01958280-cdc9-4e72-85bb-7399fcdcc056
(01:03:28) ERROR: /Users/buildkite/builds/bk-macos-arm64-nn86/bazel/rules-apple-darwin/test/starlark_tests/targets_under_test/ios/BUILD:129:16: AssetCatalogCompile test/starlark_tests/targets_under_test/ios/app-intermediates/bundle_library_ios.bundle/xcassets failed: (Exit 1): xctoolrunner failed: error executing AssetCatalogCompile command (from target //test/starlark_tests/targets_under_test/ios:app)
(cd /private/var/tmp/_bazel_buildkite/3ebd711cd99f106e0bfcf0a4dddc286c/execroot/_main && \
exec env - \
APPLE_SDK_PLATFORM=iPhoneSimulator \
APPLE_SDK_VERSION_OVERRIDE=18.2 \
PATH=/Users/buildkite/Library/Caches/bazelisk/downloads/sha256/ac72ad67f7a8c6b18bf605d8602425182b417de4369715bf89146daf62f7ae48/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/homebrew/bin \
XCODE_VERSION_OVERRIDE=16.2.0.16C5032a \
bazel-out/darwin_arm64-opt-exec-ST-d57f47055a04/bin/tools/xctoolrunner/xctoolrunner actool --compile '[ABSOLUTE]bazel-out/ios_sim_arm64-fastbuild-ios-sim_arm64-min12.0-applebin_ios-ST-26d4f6b9029b/bin/test/starlark_tests/targets_under_test/ios/app-intermediates/bundle_library_ios.bundle/xcassets' --platform iphonesimulator --minimum-deployment-target 12.0 --compress-pngs --target-device iphone '[ABSOLUTE]test/starlark_tests/resources/assets.xcassets')
# Configuration: 8931e66e98dfc14da7a42f9369975f695461c8159360912aca94c6ca1a76bc52
# Execution platform: @@platforms//host:host
/Users/buildkite/builds/bk-macos-arm64-nn86/bazel/rules-apple-darwin/test/starlark_tests/resources/assets.xcassets: error: No simulator runtime version from [<DVTBuildVersion 21F79>, <DVTBuildVersion 22D8075>] available to use with iphonesimulator SDK version <DVTBuildVersion 22C146>
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 49 (36 by maintainers)
We can upgrade to 16.3, maybe that will solve the problem.
@UebelAndre based on other reports this seems to be a problem with zlib (example patch: https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg860049.html). The version used by the examples is quite old (1.2.11 from 2017)
We’re currently deploying new Silicon workers with MacOS 15.4.1 and Xcode 16.3.
I’m still looking at this off and on. at this point using updating to 16.3 might sidestep some pieces ¯\(ツ)/¯
are these vms heavily resource constrained? these actions should be sub-second:
I’m seeing this pretty regularly trying to debug this issue
I’m not that familiar with Xcode, so I’ll do some more digging.
It’s already interesting that
system_profiler -json SPDeveloperToolsDataTypeshows visionOS 2.2, whereasxcrun simctl runtime listonly shows 2.3