-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Do not show diagnostic warning for disconnected iOS devices #105971
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
Conversation
| { | ||
| "code" : 4, | ||
| "failureReason" : "", | ||
| "description" : "iPad is locked.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really what the JSON looks like? it says both that it's locked and not connected? that's very confusing...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's exactly copied from my results. It's not connected, it claims it's a usb interface, but it somehow knows it's locked. But it doesn't actually know, when I unlock the device it doesn't try to wireless pair or something.
|
|
||
| final List<String> errors = await xcdevice.getDiagnostics(); | ||
| expect(errors, hasLength(4)); | ||
| // Does not contain "Xcode will continue when iPad is connected." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you write an expectation for this? Maybe something like:
expect(errors, isNot(contains('Xcode will continue when iPad is connected.')));
christopherfujino
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #105970
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.