Skip to content

Conversation

@jmagman
Copy link
Member

@jmagman jmagman commented Jun 14, 2022

Fixes #105970

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@jmagman jmagman self-assigned this Jun 14, 2022
@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jun 14, 2022
@jmagman jmagman added platform-ios iOS applications specifically t: xcode "xcodebuild" on iOS and general Xcode project management labels Jun 14, 2022
{
"code" : 4,
"failureReason" : "",
"description" : "iPad is locked.",
Copy link
Contributor

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...

Copy link
Member Author

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."
Copy link
Contributor

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.')));

Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmagman jmagman added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 18, 2022
@auto-submit auto-submit bot merged commit aba0c4e into flutter:master Jun 18, 2022
@jmagman jmagman deleted the not-connected branch June 18, 2022 02:03
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App platform-ios iOS applications specifically t: xcode "xcodebuild" on iOS and general Xcode project management tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flutter doctor/devices shows disconnected devices "iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)"

2 participants