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

"No device found" error message is misleading. #21598

Closed
dustinhowl opened this issue Oct 24, 2023 · 0 comments · Fixed by #21650
Closed

"No device found" error message is misleading. #21598

dustinhowl opened this issue Oct 24, 2023 · 0 comments · Fixed by #21650

Comments

@dustinhowl
Copy link

New Issue Checklist

Issue Description

The error message for when a device isn't found (and ensure_device_found is set to true) is:

No device found with name 'iPhone 14 (16.4)'

However, in reality, the name of the device Fastlane looks for is:

`iPhone 14`

This leads to a confusing situation where a user can have a device configured with the exact name from the error, and Fastlane will still fail with this message.

The error message should appropriately specify the name, something like:

No device found with name `iPhone 14` running iOS 16.4
Command executed

Any command that fails due to the device not being found.

# Run with only a simulator that is named `iPhone 14 (16.4)`
scan(
      ...
      devices: ["iPhone 14 (16.4)"],
      ensure_devices_found: true,
      ...
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants