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

Warn when all the configured runners are not supported in current projects #181

Closed
kkharji opened this issue Apr 22, 2023 · 0 comments · Fixed by #182
Closed

Warn when all the configured runners are not supported in current projects #181

kkharji opened this issue Apr 22, 2023 · 0 comments · Fixed by #182
Labels
nvim Neovim client vscode VSCode client

Comments

@kkharji
Copy link
Owner

kkharji commented Apr 22, 2023

There a configuration option to limit the devices for apple platforms:

e.g.

simctl = {
   iOS = {
      "iPhone 13 Pro",
   },
}

However, this is problematic when the configuration get outdated. While testing fixes for #178, I kept getting no runners for Run picker, while print(vim.inspect(require('xbase.state'))) shows a list of devices. It turned out that I had "iPhone 12 Pro" in simctl.iOS which is outdate.

Therefore, in editors, when there are runners available but the configured value lead to have empty list, the editor should raise warning to user with the available runners for the project.

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

Successfully merging a pull request may close this issue.

1 participant