Skip to content

iOS device tests timeout when installing the test app #5095

@jamescrosswell

Description

@jamescrosswell

Description

This happens muitiple times a day (e.g. here, here and here).

The message is always the same:

[09:11:58.2496530] Xamarin.Hosting: Installing on iPhone 17 (9D89631E-DA6A-4E6B-8CE7-CFBE4BCC8391) by executing 'xcrun simctl install 9D89631E-DA6A-4E6B-8CE7-CFBE4BCC8391 /Users/runner/work/sentry-dotnet/sentry-dotnet/test/Sentry.Maui.Device.TestApp/bin/Release/net10.0-ios/iossimulator-arm64/Sentry.Maui.Device.TestApp.app'
[09:18:11.1935550] Killing process 22259 as it was cancelled

So timing out when running xcrun simctl install.

Possible solutions

iOS version

This user indicated they only had the problem on iOS 17.0 and resolved it by forcing the simulator to use an older version of iOS.

Timeout command wrapper or active user session

Gemini has this to say about it, so possible worth exploring:

  • CI/CD specific issues: In continuous integration environments (like CircleCI or GitHub Actions), simulators might hang if there is no active graphical user session on the machine.

Previous failed attempts to fix this

Metadata

Metadata

Labels

.NETPull requests that update .net codeBugSomething isn't workingRepository Maintenance
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions