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

Appium can't get simulator list by command /usr/bin/xcrun simctl list devices -j #145

Open
aaroncarry opened this issue Jul 2, 2021 · 3 comments

Comments

@aaroncarry
Copy link

The problem

Hi, There is an issue here when I use Appium to create session with simulator.
Appium does not seem to be able to successfully get the currently available simulators list via the command
But actual this command is works.

image

Environment

Mac OS:Big Sur (Version 11.0.1)
CPU: Apple M1
Appium: v1.20.1
Xcode: 12.4

Appium Log

https://gist.github.com/lin907597898/0d8850e6c577e88408a414d775ed1449

@mykola-mokhnach
Copy link
Contributor

As you could see from the log the command fails because of 60s timeout. I'm not quite sure why this timeout is present on that particular system

@aaroncarry
Copy link
Author

As you could see from the log the command fails because of 60s timeout. I'm not quite sure why this timeout is present on that particular system

Thank you for your prompt reply.
When I execute this command on the Appium server machine, it can work normally.
Another weird thing is that the Appium log shows 60s timeout, but it actually stuck about ten minutes before the error log was thrown.

@mykola-mokhnach
Copy link
Contributor

Are you sure the Appium process is running under the same shell and has the same environment that the user for which these commands don't timeout?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants