-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Opening Simulator app fails often with error The executable is missing
#4545
Comments
Hello @fluiddot. Thank you for your report. We will take a look. |
Thank you @dibir-magomedsaygitov for the heads up 🙇 . As a side note, I'd like to note that I also tried with the following Xcode versions and also experienced this issue:
|
The problem seems to relate to renaming Xcode installations to the version specific folders. The possible workarounds are:
Reference documentation: https://eclecticlight.co/2017/08/11/launch-services-database-problems-correcting-and-rebuilding/ @fluiddot if you want to use Simulator.app for testing purposes there's more common approach with |
Good point, actually I initially considered this option but the I'm going to try option 2 in the original workflows where I identified the issue. Thank you very much @dsame for taking a look and providing such helpful workarounds 🙇 . |
@dsame using option 2 worked like charm in the workflows, thank you so much for investigating and providing the workarounds 🙇 . |
@fluiddot we are thinking of implementing |
@miketimofeev awesome, thank you for letting me know 🙇 , I'll be looking forward to the workaround 👍 . |
Just a note that we are launching with |
Hi @fluiddot, @DavidKnight-Bluescape . |
Hi @fluiddot. Images with |
@shilovmaksim Thank you very much for letting me know about the update. |
Thank you! |
Description
I experienced often failures on different workflows that open and use the Simulator app for running mobile end-to-end tests, so far the failure ratio is 70-50%.
The command used for opening the Simulator app is:
And the error message:
In the beginning, I wasn't sure if this issue might be produced by other steps in the workflow, so for this reason, I created an empty repository with a basic workflow to confirm that the issue could be reproduced by only opening the Simulator app. In the following PR you can check the workflow fluiddot/test-virtual-environment-macos-11#1 and the failure.
As a side note, I'd like to highlight that I only encountered this error when using the
macOS 11
image, on previous macOS images opening the Simulator app work without issues.Virtual environments affected
Image version and build link
Is it regression?
Not sure.
Expected behavior
Opening the Simulator app shouldn't produce errors.
Actual behavior
Around 50-70% of runs that open the Simulator app produce an error and makes the workflow fail.
Repro steps
The executable is missing
error related to the step that opens the Simulator app.The text was updated successfully, but these errors were encountered: