Skip to content

[Integration Test Failure] RunOniOSmauiDeb1620094076 fails to launch on iOS 18.0 simulator #30931

@rmarinho

Description

@rmarinho

Description

The integration test RunOniOS("maui","Debug","net10.0","iossimulator-x64",Mono,null) failed when attempting to launch RunOniOSmauiDeb1620094076 on the iOS 18.0 simulator. The simulator was successfully booted, the app was installed, but the launch failed with the following error:

An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
Unable to lookup in current state: Shutdown
error HE0042: Could not launch the app 'com.companyname.runoniosmauideb1620094076' on the device 'iPhone Xs (iOS 18.0) - created by XHarness (B8DEF022-D60A-40AA-BAE0-CE05086E3C2F)': simctl returned exit code 149

The simulator appears to shut down unexpectedly right before launch, making it impossible to complete the test run.

Public builds
https://dev.azure.com/xamarin/public/_build/results?buildId=147825&view=ms.vss-test-web.build-test-results-tab&runId=4694527&resultId=100004&paneView=debug

Steps to Reproduce

  1. Run the integration test: RunOniOS("maui","Debug","net10.0","iossimulator-x64",Mono,null)
  2. Wait for the simulator to boot and the app to install (installation succeeds)
  3. The test attempts to launch the app on the simulator
  4. Observe that the simulator shuts down unexpectedly and the app fails to launch

Expected: The app should launch and the integration test should complete
Actual: The simulator is in "Shutdown" state and the app launch fails with simctl exit code 149.

Link to public reproduction project repository

No response

Version with bug

Nightly / CI build (Please specify exact version)

Is this a regression from previous behavior?

Yes, worked on previous net10 versions

Affected platforms

iOS

Affected platform versions

iOS 18.0 simulator (iPhone Xs, Xcode 16.4)

Did you find any workaround?

No workaround identified. The simulator cannot be kept running to allow the test to complete.

Relevant log output

[06:46:43.5616000] Looking for available ios-simulator-64_18.0 simulators. Storing logs into list-ios-simulator-64_18.0-20250730_064643.log
[06:46:46.0787020] ...
[06:47:01.4029540] An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
[06:47:01.4030090] Unable to lookup in current state: Shutdown
[06:47:01.9811190] error HE0042: Could not launch the app 'com.companyname.runoniosmauideb1620094076' on the device 'iPhone Xs (iOS 18.0) - created by XHarness (B8DEF022-D60A-40AA-BAE0-CE05086E3C2F)': simctl returned exit code 149
[06:47:02.3494010] An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
[06:47:02.3495590] Unable to lookup in current state: Shutdown
[06:47:02.3510350] Process simctl exited with 149
(Full log attached in test artifact: run-ios-simulator-64_18.0.log)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions