Unable to find application named 'Simulator'? #25331
-
This is the run: verybadcat/CSharpMathLaTeX. in C#. (ported from the wonderful iosMath project). - verybadcat/CSharpMath The line
seems to output
. Is there any way to start the iOS Simulator? It is clearly listed in https://github.com/actions/virtual-environments/blob/40caaf3e2c11a9e4289482cce72e14ed97fa64fe/images/macos/macos-10.15-Readme.md#installed-simulators but I cannot find any way to use it. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
Hi @happypig375, According to the error message: I run To start the iOS simulator, you could try
|
Beta Was this translation helpful? Give feedback.
-
yanjingzhu:
According to https://stackoverflow.com/a/35821607/5429648 |
Beta Was this translation helpful? Give feedback.
-
New run with correct UDID, error still persists. https://github.com/verybadcat/CSharpMath/runs/779554691?check_suite_focus=true |
Beta Was this translation helpful? Give feedback.
-
@yanjingzhu Is there any way to solve this? |
Beta Was this translation helpful? Give feedback.
-
I was trying hard to find a way to resolve your issue. But I met another issue . Firstly, I found that the UID has changed today. There is a method to get uid of a simulator:
And I tried to change Simulator to the exact path
The scripts stuck at
As I am not familiar with ios, could you please check whether this script could run successfully in your local machine? |
Beta Was this translation helpful? Give feedback.
-
Thank you! ❤️ It now matches my local output.
|
Beta Was this translation helpful? Give feedback.
-
On local testing, the app has successfully launched but the script seems to not able to detect it. Some more Googling will be required. |
Beta Was this translation helpful? Give feedback.
-
If I add add two
, the output becomes
|
Beta Was this translation helpful? Give feedback.
-
I have replaced
with
and it seems to work correctly. |
Beta Was this translation helpful? Give feedback.
-
I am very glad to hear that you have resolved your issue. If you meet any other issue when using GitHub Actions, welcome to our community again. 😃 |
Beta Was this translation helpful? Give feedback.
-
Thanks @yanjingzhu! The final form of the workflow file can be seen in https://github.com/verybadcat/CSharpMath/pull/133/files#diff-bb44396ad1769acfefe20015d1f4a095 where an app file is loaded into the simulator and the app logs are extracted for checking for test failures. |
Beta Was this translation helpful? Give feedback.
I was trying hard to find a way to resolve your issue. But I met another issue .
Firstly, I found that the UID has changed today. There is a method to get uid of a simulator:
And I tried to change Simulator to the exact path
The scripts stuck at