Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS - 20250226.755 - Missing iOS Platform #11683

Open
2 of 15 tasks
jenyangk opened this issue Feb 27, 2025 · 44 comments
Open
2 of 15 tasks

macOS - 20250226.755 - Missing iOS Platform #11683

jenyangk opened this issue Feb 27, 2025 · 44 comments
Assignees
Labels
Area: Apple bug report bug Something isn't working investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS

Comments

@jenyangk
Copy link

jenyangk commented Feb 27, 2025

Description

Hello, I am running into an issue building a .NET MAUI application for iOS with XCode 16.2. It appears that the latest macOS-15 image might be missing the iOS platform as detailed in this known issues FAQ from dotnet/macios.

Here is the error message from Azure Pipelines after using the command dotnet publish -f:net9.0-ios -c:Release.

Tool /usr/bin/xcrun execution finished (exit code = 1).
          
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "[http://www.apple.com/DTDs/PropertyList-1.0.dtd">](http://www.apple.com/DTDs/PropertyList-1.0.dtd%22%3E)
  <plist version="1.0">
  <dict>
  	<key>com.apple.actool.compilation-results</key>
  	<dict>
  		<key>output-files</key>
  		<array>
  			<string>/Users/runner/work/1/s/Projects/JSI/obj/Release/net9.0-ios/ios-arm64/actool/bundle/[email protected]</string>
  			<string>/Users/runner/work/1/s/Projects/JSI/obj/Release/net9.0-ios/ios-arm64/actool/bundle/appicon76x76@2x~ipad.png</string>
  			<string>/Users/runner/work/1/s/Projects/JSI/obj/Release/net9.0-ios/ios-arm64/actool/partial-info.plist</string>
  		</array>
  	</dict>
  	<key>com.apple.actool.errors</key>
  	<array>
  		<dict>
  			<key>description</key>
  			<string>No simulator runtime version from [&lt;DVTBuildVersion 21F79&gt;, &lt;DVTBuildVersion 22A3351&gt;, &lt;DVTBuildVersion 22B81&gt;, &lt;DVTBuildVersion 22D8075&gt;] available to use with iphonesimulator SDK version &lt;DVTBuildVersion 22C146&gt;</string>
  		</dict>
  	</array>
  </dict>
  </plist>
  
  
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.2/18.2.9180/tools/msbuild/Xamarin.Shared.targets(946,3): error : /usr/bin/xcrun exited with code 1 [/Users/runner/work/1/s/Projects/JSI/JSI.csproj::TargetFramework=net9.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.2/18.2.9180/tools/msbuild/Xamarin.Shared.targets(946,3): error :          [/Users/runner/work/1/s/Projects/JSI/JSI.csproj::TargetFramework=net9.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.2/18.2.9180/tools/msbuild/Xamarin.Shared.targets(946,3): error : actool exited with code 1 [/Users/runner/work/1/s/Projects/JSI/JSI.csproj::TargetFramework=net9.0-ios]
/Users/runner/hostedtoolcache/dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.2/18.2.9180/tools/msbuild/Xamarin.Shared.targets(946,3): error :          [/Users/runner/work/1/s/Projects/JSI/JSI.csproj::TargetFramework=net9.0-ios]
/Users/runner/work/1/s/Projects/JSI/obj/Release/net9.0-ios/ios-arm64/actool/cloned-assets/Assets.xcassets : actool error : No simulator runtime version from [<DVTBuildVersion 21F79>, <DVTBuildVersion 22A3351>, <DVTBuildVersion 22B81>, <DVTBuildVersion 22D8075>] available to use with iphonesimulator SDK version <DVTBuildVersion 22C146> [/Users/runner/work/1/s/Projects/JSI/JSI.csproj::TargetFramework=net9.0-ios]

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

20250226.755

Is it regression?

20250120.591

Expected behavior

Build should complete without any errors.

Actual behavior

Build fails with this error output: actool error : No simulator runtime version from [<DVTBuildVersion 21F79>, <DVTBuildVersion 22A3351>, <DVTBuildVersion 22B81>, <DVTBuildVersion 22D8075>] available to use with iphonesimulator SDK version <DVTBuildVersion 22C146> [/Users/runner/work/1/s/Projects/JSI/JSI.csproj::TargetFramework=net9.0-ios]. Indicating missing iOS simulators.

Repro steps

Run this command for a .NET MAUI project for iOS on Azure Pipelines - dotnet publish -f:net9.0-ios -c:Release.

@jenyangk
Copy link
Author

This seems fairly self-explanatory but if you require more logs or information. I can provide them. Thanks.

@prasanjitsahoo
Copy link
Contributor

Hi @jenyangk , We will look into the issue and keep you updated on any further updates.
Thank you.

@justin-darmody
Copy link

justin-darmody commented Feb 28, 2025

As a workaround, I install the iOS 18.2 SDK on my pipeline run. Got the hint from this issue - #11335 (comment)

This is what I added after I set Xcode version to 16.2:

  • task: CmdLine@2
    displayName: 'Set Xcode v16.2'
    inputs:
    script: echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'/Applications/Xcode_16.2.app;sudo xcode-select -switch /Applications/Xcode_16.2.app/Contents/Developer

  • powershell: |
    xcodebuild -downloadPlatform iOS -buildVersion 18.2
    displayName: Install iOS platform

  • script: |
    xcrun simctl list devices
    displayName: List of simulators

Sorry about the formatting above. This is what the yaml should look like:

Image

See an issue reported at dotnet/macios indicating that latest stable release of .NET MAUI (9.0.40) relies of 18.2 currently: dotnet/macios#22243

Just taking the chance to provide constructive feedback. If it is at all possible, we (MAUI developers) need the maintainers of these runner images in sync with the MAUI build requirements. Last issue I had some time ago was with the iOS apple certificate signing. So it is not the first time. Our development for enterprise MAUI apps can be disrupted by pre-releases deployed to our Azure DevOps pipelines.

@crhalvorson
Copy link

We are experiencing the same issue, but on the macOS-14 ARM64 (yaml label macos-14) image.

We're pursuing a workaround similar to what justin-darmody suggested although it will be much easier to have the 18.2 simulators included.

@kober32
Copy link

kober32 commented Feb 28, 2025

Same issue for us on macos-15 image...

@Arno-Schneider
Copy link

I'm facing a similar issue, running on macos-15 I have issues as soon as I get a macOS 15.3.1 runner (macOS 15.2 runners all good). The runners seems to have iOS 18.1 and iOS 18.3 installed according to xcrun simctl list and xcrun simctl list runtimes, but my builds fail due to missing iOS 18.2 even when I explicitly ask for 18.1 (same for latest, 18.3 would mean the runs will fail when I get a macOS 15.2 runner so I didn't try that one)

xcodebuild -configuration Debug -derivedDataPath "/Users/runner/work/_temp/derivedData" -destination platform='iOS Simulator,name=iPhone 16,OS=18.1' ...
...
	Ineligible destinations for the "ABC" scheme:
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 18.2 is not installed. To use with Xcode, first download and install the platform }

@Arno-Schneider
Copy link

Adding

      - name: Install iOS 18.1 again
        run: xcodebuild -downloadPlatform iOS -buildVersion 18.1

in the yaml before the build action results in the issue being gone, the output now looks like

xcodebuild -configuration Debug -derivedDataPath "/Users/runner/work/_temp/derivedData" -destination platform='iOS Simulator,name=iPhone 16,OS=18.1' ...
...
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:5C2F6F8D-17E0-4BD0-95D9-6824C3C3E7AF, OS:18.1, name:iPhone 16 }
...

Maybe there is something off in the preinstalled iOS simulator/runtimes on the macOS 15.3.1 images.

@kober32
Copy link

kober32 commented Feb 28, 2025

@Arno-Schneider Yes, the same is true for me (with the 15.3.1). The weird part is that there was no announcement about 15.3.1 deployment and the docs says it's still run on 15.2 (https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md)

Unfortunately, the whole macOS setup has been a mess for the last few weeks.

Anyway, I solved this by the xcodebuild -downloadPlatform iOS -buildVersion 18.2 step (using Xcode 16.2).

Hope they sort it out soon...

@Arno-Schneider
Copy link

@kober32 Yeah, my first approach was to just use latest instead of 18.2 everywhere as we would be fine with both 18.2 on the macOS 15.2 runners and 18.3 on the macOS 15.3.1 runners, but that didn't work. And then after more and more checks I now believe none of the preinstalled simulators/runtimes on the macSO 15.3.1 runners are working (as locally e.g. also latest works fine and uses 18.3).
In general I would still prefer to avoid having to download something that's in theory already preinstalled, so I'm hoping for improved macOS 15.3.1 runner images. But maybe it's better to simply always add such a step even when things in theory should already be there.

@benlings
Copy link

The release notes for
macOS 15 - 20250226.755
and for macOS 14 - 20250224.833 both show that the iOS 18.2 simulator has been removed and replaced by the iOS 18.3 simulator. However the full list of installed software shows that only the 18.2 (not 18.3) simulator SDK is installed:

Image

@OliverBrown-Next
Copy link

OliverBrown-Next commented Feb 28, 2025

There is this:
#11671 Remove Xcode 16.3 Beta 1 due to compatibility issues

@DanielCauser
Copy link

Getting the same problem on our Azure devops hosted agents.

@mjacksonjjk
Copy link

We are seeing the same issue on macos-14 agents. Interestingly, though, it's not all of them. We are seeing intermittent failures based on the runner image we get assigned at random from the pool.

Runner Image Version: 20250127.727 does not have this error, our builds succeed. Other versions fail with the above reported error.

@15mgm15
Copy link

15mgm15 commented Feb 28, 2025

@kober32 Can you explain your workaround pls?

@jenyangk
Copy link
Author

Hey @15mgm15, as few have already mentioned here, the workaround is to ensure the iOS platform support is installed on the Microsoft-hosted macOS agents before your build runs. This is similar to the solution from this dotnet/macios FAQ but in CLI.

You can add this script to your build step:

# Set XCode Version
- script: sudo xcode-select -s /Applications/Xcode_16.2.app
  displayName: Set XCode Version

# Download iOS Platform Workaround https://github.com/actions/runner-images/issues/11683
- script: xcodebuild -downloadPlatform iOS -buildVersion 18.2
  displayName: Download iOS Platform

Setting the XCode version might help.

@15mgm15
Copy link

15mgm15 commented Feb 28, 2025

@jenyangk Got it right then! Thanks for pointing it out.

@maroy1986
Copy link

This is the second time it happens in 2 months. Last time it was #11335 and a few more issues related to it.

I understand this is complicated but like @justin-darmody said at the end of his post, this is really disrupting the pre-release process of MAUI Apps. Hopefully I wasn't in a hurry to release a hotfix or something, this could have been bad since there's no ETA on when this is gonna be fixed.

I also understand that there's a workaround to install the missing parts, this is cool and useful, but we shouldn't need to put workarounds in our Pipelines or Actions once in a while to fix something that should just work.

Just to be clear, I'm not mad, just really annoyed and disappointed. Isn't it any release process to validate that all the parts are there before pushing these image to the world?

For information, I'm selecting XCode 16.2 in my Azure DevOps pipeline running on macos-14 image. Worked perfectly yesterday.

@KatherineInCode
Copy link

This is affecting more than just MAUI apps, as near as I can tell. It appears to also be when running tests on a native app.

We have not yet tried the workaround.

@devinguthrie
Copy link

devinguthrie commented Feb 28, 2025

We are running into this issue with an Azure hosted agent running macos-15. I can also confirm the workaround fixes the error (@justin-darmody, TY!) but adds ~10 minutes to every pipeline run downloading and installing. Not ideal.

@davertay-j
Copy link

davertay-j commented Feb 28, 2025

We are getting the same error with macOS-15 runners, but it is intermittent and only affects some runners and not others. Even selecting a specific 18.3 simulator target the build fails and complains the 18.2 is not installed. From the build output:

xcrun simctl list devices available 'iOS 18.3'
[snip]
-- iOS 18.3 --
    iPhone 16 Pro (09B07162-0AB4-4497-9293-37E8C58C081E) (Shutdown) 
[snip]
xcodebuild -configuration Debug -derivedDataPath .derivedData/Debug -destination 'platform=iOS Simulator,id=09B07162-0AB4-4497-9293-37E8C58C081E' -scheme "topaz" -project topaz.xcodeproj

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:iOS Simulator, id:09B07162-0AB4-4497-9293-37E8C58C081E }

	Ineligible destinations for the "topaz" scheme:
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 18.2 is not installed. To use with Xcode, first download and install the platform }

Example: https://github.com/JuulLabs/topaz/actions/runs/13597003236/job/38016014230

We will have to try the download workaround but it would be nice if the machines were configured correctly.

@andrewheard
Copy link

If I'm reading the output correctly, it seems like there are no iOS simulators installed:

xcodebuild error
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
		{ platform:iOS Simulator, OS:latest, name:iPhone 16 }

	Available destinations for the "FirebaseFunctionsUnit" scheme:
		{ platform:macOS, arch:arm64e, id:0000FE00-0D2881097313F0FA, name:My Mac }
		{ platform:macOS, arch:arm64, id:0000FE00-0D2881097313F0FA, name:My Mac }
		{ platform:macOS, arch:x86_64, id:0000FE00-0D2881097313F0FA, name:My Mac }
		{ platform:macOS, arch:arm64e, variant:Mac Catalyst, id:0000FE00-0D2881097313F0FA, name:My Mac }
		{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-0D2881097313F0FA, name:My Mac }
		{ platform:macOS, arch:x86_64, variant:Mac Catalyst, id:0000FE00-0D2881097313F0FA, name:My Mac }
		{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-0D2881097313F0FA, name:My Mac }
		{ platform:DriverKit, name:Any DriverKit Host }
		{ platform:macOS, name:Any Mac }
		{ platform:macOS, variant:Mac Catalyst, name:Any Mac }
		{ platform:tvOS, id:dvtdevice-DVTiOSDevicePlaceholder-appletvos:placeholder, name:Any tvOS Device }
		{ platform:tvOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-appletvsimulator:placeholder, name:Any tvOS Simulator Device }
		{ platform:watchOS, id:dvtdevice-DVTiOSDevicePlaceholder-watchos:placeholder, name:Any watchOS Device }
		{ platform:watchOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-watchsimulator:placeholder, name:Any watchOS Simulator Device }
		{ platform:tvOS Simulator, id:43FFA612-2011-4D9B-816A-B597E006780B, OS:17.5, name:Apple TV }
		{ platform:tvOS Simulator, id:43FFA612-2011-4D9B-816A-B597E006780B, OS:17.5, name:Apple TV }
		{ platform:tvOS Simulator, id:98D618AB-B6F8-4F2F-8BD7-3CE7F822E032, OS:18.0, name:Apple TV }
		{ platform:tvOS Simulator, id:98D618AB-B6F8-4F2F-8BD7-3CE7F822E032, OS:18.0, name:Apple TV }
		{ platform:tvOS Simulator, id:FD386DF8-AE69-4A88-B1D3-575516D1CB5F, OS:18.1, name:Apple TV }
		{ platform:tvOS Simulator, id:FD386DF8-AE69-4A88-B1D3-575516D1CB5F, OS:18.1, name:Apple TV }
		{ platform:tvOS Simulator, id:B00E0B26-7D95-45E0-B741-8B91308C530A, OS:18.2, name:Apple TV }
		{ platform:tvOS Simulator, id:B00E0B26-7D95-45E0-B741-8B91308C530A, OS:18.2, name:Apple TV }
		{ platform:tvOS Simulator, id:676311BD-F3DE-4C36-928B-D38A570590A4, OS:17.5, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:676311BD-F3DE-4C36-928B-D38A570590A4, OS:17.5, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:ACFF2FA7-CD8B-41C4-BA40-C1103ED358B1, OS:18.0, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:ACFF2FA7-CD8B-41C4-BA40-C1103ED358B1, OS:18.0, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:A6032862-C90A-4E41-AD8D-8CF7A0593F8E, OS:18.1, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:A6032862-C90A-4E41-AD8D-8CF7A0593F8E, OS:18.1, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:D70E7B24-63D6-437F-830F-B5804949130D, OS:18.2, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:D70E7B24-63D6-437F-830F-B5804949130D, OS:18.2, name:Apple TV 4K (3rd generation) }
		{ platform:tvOS Simulator, id:577B646A-60E5-483B-8422-0FF09D3B88EB, OS:17.5, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:tvOS Simulator, id:577B646A-60E5-483B-8422-0FF09D3B88EB, OS:17.5, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:tvOS Simulator, id:0EC7DC37-22DE-45E4-8187-F367ECFA4E86, OS:18.0, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:tvOS Simulator, id:0EC7DC37-22DE-45E4-8187-F367ECFA4E86, OS:18.0, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:tvOS Simulator, id:0CC5D6DC-DC79-4363-A7DA-849538929042, OS:18.1, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:tvOS Simulator, id:0CC5D6DC-DC79-4363-A7DA-849538929042, OS:18.1, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:tvOS Simulator, id:5DFEC193-4546-481F-AF55-5CA35FDBD434, OS:18.2, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:tvOS Simulator, id:5DFEC193-4546-481F-AF55-5CA35FDBD434, OS:18.2, name:Apple TV 4K (3rd generation) (at 1080p) }
		{ platform:watchOS Simulator, id:B876051E-FC87-4B87-A055-D00C4A4C53BF, OS:10.5, name:Apple Watch SE (40mm) (2nd generation) }
		{ platform:watchOS Simulator, id:B876051E-FC87-4B87-A055-D00C4A4C53BF, OS:10.5, name:Apple Watch SE (40mm) (2nd generation) }
		{ platform:watchOS Simulator, id:7FF546D4-1A21-481A-98CD-4786D3B470B7, OS:11.0, name:Apple Watch SE (40mm) (2nd generation) }
		{ platform:watchOS Simulator, id:7FF546D4-1A21-481A-98CD-4786D3B470B7, OS:11.0, name:Apple Watch SE (40mm) (2nd generation) }
		{ platform:watchOS Simulator, id:BA03D6A3-5646-4EBA-A749-75FB8CE198B4, OS:11.1, name:Apple Watch SE (40mm) (2nd generation) }
		{ platform:watchOS Simulator, id:BA03D6A3-5646-4EBA-A749-75FB8CE198B4, OS:11.1, name:Apple Watch SE (40mm) (2nd generation) }
		{ platform:watchOS Simulator, id:B8BAE65B-84ED-43D9-9191-C91433840B37, OS:11.2, name:Apple Watch SE (40mm) (2nd generation) }
		{ platform:watchOS Simulator, id:B8BAE65B-84ED-43D9-9191-C91433840B37, OS:11.2, name:Apple Watch SE (40mm) (2nd generation) }
		{ platform:watchOS Simulator, id:8834CD66-B3DB-4E1F-8559-643797601B04, OS:10.5, name:Apple Watch SE (44mm) (2nd generation) }
		{ platform:watchOS Simulator, id:8834CD66-B3DB-4E1F-8559-643797601B04, OS:10.5, name:Apple Watch SE (44mm) (2nd generation) }
		{ platform:watchOS Simulator, id:D998C24C-FD5B-40BD-82A6-4CB60B08F8B5, OS:11.0, name:Apple Watch SE (44mm) (2nd generation) }
		{ platform:watchOS Simulator, id:D998C24C-FD5B-40BD-82A6-4CB60B08F8B5, OS:11.0, name:Apple Watch SE (44mm) (2nd generation) }
		{ platform:watchOS Simulator, id:D3D351B9-1FE8-46A6-8D7E-5C24CAF00C12, OS:11.1, name:Apple Watch SE (44mm) (2nd generation) }
		{ platform:watchOS Simulator, id:D3D351B9-1FE8-46A6-8D7E-5C24CAF00C12, OS:11.1, name:Apple Watch SE (44mm) (2nd generation) }
		{ platform:watchOS Simulator, id:85B1913F-CBAF-42BD-AD19-4CAE87397D68, OS:11.2, name:Apple Watch SE (44mm) (2nd generation) }
		{ platform:watchOS Simulator, id:85B1913F-CBAF-42BD-AD19-4CAE87397D68, OS:11.2, name:Apple Watch SE (44mm) (2nd generation) }
		{ platform:watchOS Simulator, id:B92B91FE-982D-45AE-B688-22083A706053, OS:10.5, name:Apple Watch Series 9 (41mm) }
		{ platform:watchOS Simulator, id:B92B91FE-982D-45AE-B688-22083A706053, OS:10.5, name:Apple Watch Series 9 (41mm) }
		{ platform:watchOS Simulator, id:407B3568-35F8-40E7-B673-E9E94208FE63, OS:10.5, name:Apple Watch Series 9 (45mm) }
		{ platform:watchOS Simulator, id:407B3568-35F8-40E7-B673-E9E94208FE63, OS:10.5, name:Apple Watch Series 9 (45mm) }
		{ platform:watchOS Simulator, id:679F2562-AA4D-4F17-A634-D93E423A2DFC, OS:11.0, name:Apple Watch Series 10 (42mm) }
		{ platform:watchOS Simulator, id:679F2562-AA4D-4F17-A634-D93E423A2DFC, OS:11.0, name:Apple Watch Series 10 (42mm) }
		{ platform:watchOS Simulator, id:3EA86AE6-BC7E-4A54-8D02-B49445790A16, OS:11.1, name:Apple Watch Series 10 (42mm) }
		{ platform:watchOS Simulator, id:3EA86AE6-BC7E-4A54-8D02-B49445790A16, OS:11.1, name:Apple Watch Series 10 (42mm) }
		{ platform:watchOS Simulator, id:756DE5C5-5261-4667-8F82-69DF8E83BFD2, OS:11.2, name:Apple Watch Series 10 (42mm) }
		{ platform:watchOS Simulator, id:756DE5C5-5261-4667-8F82-69DF8E83BFD2, OS:11.2, name:Apple Watch Series 10 (42mm) }
		{ platform:watchOS Simulator, id:C4E1A9BD-4E6E-4F60-806E-F9AAEC9CEEB1, OS:11.0, name:Apple Watch Series 10 (46mm) }
		{ platform:watchOS Simulator, id:C4E1A9BD-4E6E-4F60-806E-F9AAEC9CEEB1, OS:11.0, name:Apple Watch Series 10 (46mm) }
		{ platform:watchOS Simulator, id:2E0619DF-D2E1-44C8-987C-D6E77A731B64, OS:11.1, name:Apple Watch Series 10 (46mm) }
		{ platform:watchOS Simulator, id:2E0619DF-D2E1-44C8-987C-D6E77A731B64, OS:11.1, name:Apple Watch Series 10 (46mm) }
		{ platform:watchOS Simulator, id:51A09688-5130-4C12-81D5-2B56DDF1D115, OS:11.2, name:Apple Watch Series 10 (46mm) }
		{ platform:watchOS Simulator, id:51A09688-5130-4C12-81D5-2B56DDF1D115, OS:11.2, name:Apple Watch Series 10 (46mm) }
		{ platform:watchOS Simulator, id:208EB78B-1C89-4E7D-B6A0-B0BFC1330D64, OS:10.5, name:Apple Watch Ultra 2 (49mm) }
		{ platform:watchOS Simulator, id:208EB78B-1C89-4E7D-B6A0-B0BFC1330D64, OS:10.5, name:Apple Watch Ultra 2 (49mm) }
		{ platform:watchOS Simulator, id:8AE05CCD-CE62-4AF8-9E69-5676F8A437D5, OS:11.0, name:Apple Watch Ultra 2 (49mm) }
		{ platform:watchOS Simulator, id:8AE05CCD-CE62-4AF8-9E69-5676F8A437D5, OS:11.0, name:Apple Watch Ultra 2 (49mm) }
		{ platform:watchOS Simulator, id:EA2083B8-9D3B-46A5-B778-F7574221AA04, OS:11.1, name:Apple Watch Ultra 2 (49mm) }
		{ platform:watchOS Simulator, id:EA2083B8-9D3B-46A5-B778-F7574221AA04, OS:11.1, name:Apple Watch Ultra 2 (49mm) }
		{ platform:watchOS Simulator, id:D65CFBC5-742B-4081-A3F8-A37AA7889891, OS:11.2, name:Apple Watch Ultra 2 (49mm) }
		{ platform:watchOS Simulator, id:D65CFBC5-742B-4081-A3F8-A37AA7889891, OS:11.2, name:Apple Watch Ultra 2 (49mm) }

	Ineligible destinations for the "FirebaseFunctionsUnit" scheme:
		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 18.2 is not installed. To use with Xcode, first download and install the platform }
		{ platform:visionOS, id:dvtdevice-DVTiOSDevicePlaceholder-xros:placeholder, name:Any visionOS Device, error:visionOS 2.2 is not installed. To use with Xcode, first download and install the platform }

https://github.com/firebase/firebase-ios-sdk/actions/runs/13596304291/job/38013941401?pr=14395#step:6:125

@jenyangk jenyangk changed the title macOS 15 - 20250226.755 - Missing iOS Platform macOS - 20250226.755 - Missing iOS Platform Feb 28, 2025
@ijunaidm1
Copy link
Contributor

Hi @jenyangk @JaviSoto / @larry-cariq - Yes, iOS 18.2 is not available , we are currently working on it . We could see iOS 18.3 is available in the images , could you please re-try with that option.

Image

@e0548965
Copy link

e0548965 commented Mar 1, 2025

Having the same issue. Builds failing.

@Vyazovoy
Copy link

Vyazovoy commented Mar 1, 2025

We experiencing the same issue

@abccbdots
Copy link

Same issue, 18.2 missing. Please fix it soon

@albyrock87
Copy link

This is really frustrating, especially because the workaround of installing the 18.2 simulator manually increases the build time by 10 minutes which in our case is very close to 1 hour timeout bringing our builds to fail anyway.

Please fix it asap!

@JaviSoto
Copy link

JaviSoto commented Mar 1, 2025

What I don't understand is how a change with a massive regression that broke the product for literally every single developer relying on GitHub Actions for iOS development was deployed without some kind of canary process first, and not only that, but when dozens of developers report the issue (and even escalate it to Microsoft), a day later it's still not resolved. This should've been an immediate rollback of whatever change broke this. It makes me seriously question whether this service can be relied upon for any kind of production use case 😕 this is incredibly disappointing, GitHub.

@larry-cariq
Copy link

@prasanjitsahoo @subir0071 @ijunaidm1 Any update on this critical issue? This issue causes long build to fail which causes lots of long reruns which is costing us a lot of extra money. Any progress details you can provide would be helpful.

@larry-cariq
Copy link

@susmitamane ^^^

@erik-bershel
Copy link
Contributor

Heads up! 👋

We are starting rollback for macOS-14 and macOS-15 based images to bring back iOS 18.2 and visionOS 2.2 simulators. Please report if you encounter an image with the problem after 24 hours from this post.

@erik-bershel erik-bershel marked this as a duplicate of #11695 Mar 1, 2025
@erik-bershel erik-bershel marked this as a duplicate of #11697 Mar 1, 2025
@kober32
Copy link

kober32 commented Mar 1, 2025

Hi @erik-bershel, does this mean that the 15.3.1 deployment is postponed until this issue is resolved in the image?

@KiqueDev
Copy link

KiqueDev commented Mar 1, 2025

Heads up! 👋

We are starting rollback for macOS-14 and macOS-15 based images to bring back iOS 18.2 and visionOS 2.2 simulators. Please report if you encounter an image with the problem after 24 hours from this post.

Thank you Erik.
Will the rollback also include the ..-large and ...-xlarge based images as well? or?

@erik-bershel
Copy link
Contributor

erik-bershel commented Mar 1, 2025

Hi @erik-bershel, does this mean that the 15.3.1 deployment is postponed until this issue is resolved in the image?

It's hard to tell at the moment. We will check why the default runtimes were changed to a set that does not meet the needs of the majority, decide what to do about it and roll out a new image. There is a possibility that we will not fix this issue if the changes were made on the Apple side and were intentional and justified by some unknown circumstances. In any case, the next update will contain OS updates.

Will the rollback also include the ..-large and ...-xlarge based images as well? or?

Yes, macOS-based Larger runners are based on the same images as Standard runners, so the current rollback will effectivelly affect all of mentioned.

@mihaicris-adoreme
Copy link

There was a similar defect with a previous macos-image(s). Just as a curiosity, do you have any suite of tests, with different projects and command builds for Xcode with different platform simulators to catch these kind of missing components in the image? We have 18.1, 18.3, but no 18.2.. Isn't it concerning that Github has no reliable release process in place?

@erik-bershel
Copy link
Contributor

There was a similar defect with a previous macos-image(s). Just as a curiosity, do you have any suite of tests, with different projects and command builds for Xcode with different platform simulators to catch these kind of missing components in the image? We have 18.1, 18.3, but no 18.2.. Isn't it concerning that Github has no reliable release process in place?

At the moment, Xcode platform tools are an optional component and are not included in the Support Policy to be delivered, since users can install them at runtime, unlike Xcode itself.

We are trying to meet the community needs and working on providing them "as much as possible" within a single image (using the command xcodebuild -downloadAllPlatforms, which seems to have exhausted itself since this incident) for all Xcode instances within the free disk space (there is only one exclusion at the moment - visionOS on macOS 14 based images), because we understand the value of the time saved by you, but this result is not always achievable for a number of reasons (disk space, changes in distribution model by Apple, and so on).

We will consider including those components in the list of service promises, but this will require some changes in the model of platform tools installation and some time in order to provide a certain level of service.

@ronanj2
Copy link

ronanj2 commented Mar 1, 2025

since users can install them at runtime

erik-bershel,
Perhaps make the macos runners less expensive and users will install them at runtime.

@erik-bershel erik-bershel added bug Something isn't working Area: Apple investigate Collect additional information, like space on disk, other tool incompatibilities etc. labels Mar 1, 2025
@maroy1986
Copy link

maroy1986 commented Mar 3, 2025

I can confirm situation is back to normal following the rollback on our end. Hopefully this is the last time we hit that roadblock. Twice in two months, one time beginning of January and now 1 time at the end of February and many days to recover is a lot of time wasted. We are lucky to have some understanding clients that trust us but this is not the case for everybody.

since users can install them at runtime

erik-bershel, Perhaps make the macos runners less expensive and users will install them at runtime.

I mean that would be great I think, but as we've seen with this situation, installing the simulators adds up a good 10 mins on the pipeline execution time, minutes that we end up paying for at the end of the month. So it's not a win for anybody except the image maintainers that wouldn't need to care about it anymore.

ONE other thing that'd be great, I'm using Azure DevOps, it would be absolutely awesome if we could select the actual image with the tag we want to use for our builds. That would just avoid this whole situation since we could just update the image when we really need it instead of always getting the latest version picked up automatically. I know this is a DevOps matter/limitation for all images use on pipelines, not just MacOS, and I should probably post it elsewhere but yeah, that'd be great.

Anyway, thanks for quickly rollbacking these changes, really appreciated!

@erik-bershel erik-bershel self-assigned this Mar 3, 2025
@davertay-j
Copy link

Confirming the issue is fixed, we have removed the explicit simulator download step and everything is building green again, thank you!

@Vyazovoy
Copy link

Vyazovoy commented Mar 8, 2025

We are trying to meet the community needs and working on providing them "as much as possible" within a single image (using the command xcodebuild -downloadAllPlatforms ...

@erik-bershel, according to Xcode 16.2 Release notes it has a new feature:

Starting with Xcode 16.2, Xcode can add support for new hardware without needing to update the entire Xcode app. Xcode will check when launching the app if a hardware support update is available and will install it. For the equivalent from the command-line, run xcodebuild -runFirstLaunch -checkForNewerComponents.

So xcodebuild -downloadAllPlatforms may not be enough since Xcode 16.2

@erik-bershel
Copy link
Contributor

Hey @Vyazovoy!

So xcodebuild -downloadAllPlatforms may not be enough since Xcode 16.2

Yes, we thought about it, but we are not sure that it fits the situation for a number of reasons:

  • the behaviour changed not at the time of adding the specified functionality, but at the time of publishing Xcode 16.3 Beta 1
  • the specified functionality should not affect the behaviour of the specified cmdlet, since it is associated with updates that are not needed by default on regularly updated images
  • the behaviour is not repeated on existing Xcode 16.2 instances

But I would be glad if you share any additional ideas - we will try to work on them as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Apple bug report bug Something isn't working investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS
Projects
None yet
Development

No branches or pull requests