Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Handle updated error message when iOS device is locked #108057

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

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

jmagman
Copy link
Member

@jmagman jmagman commented Jul 20, 2022

I'm not sure when this error message from the device changed.

$ flutter run -d 1234
Running "flutter pub get" in test_create...                        245ms
Launching lib/main.dart on iPhone 12 Pro in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project:
Running Xcode build...
 └─Compiling, linking and signing...                      1,887ms
Xcode build done.                                            6.8s
═══════════════════════════════════════════════════════════════════════════════════
Your device is locked. Unlock your device first before running.
═══════════════════════════════════════════════════════════════════════════════════
Could not run build/ios/iphoneos/Runner.app on 1234.
Try launching Xcode and selecting "Product > Run" to fix the problem:
  open ios/Runner.xcworkspace

Installing and launching...                                         5.9s
Error launching application on iPhone 12 Pro.

Fixes #107983
See also #12977.

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 added the tool Affects the "flutter" command-line tool. See also t: labels. label Jul 20, 2022
@jmagman jmagman self-assigned this Jul 20, 2022
@flutter-dashboard flutter-dashboard bot added the platform-ios iOS applications specifically label Jul 20, 2022
Copy link
Contributor

@cyanglaz cyanglaz 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 Jul 26, 2022
@auto-submit auto-submit bot merged commit 4dc1bd4 into flutter:master Jul 26, 2022
@jmagman jmagman deleted the lock-message branch July 27, 2022 02:06
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 27, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 28, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 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 tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS] More information is needed about screen lock when building iPhone devices.
2 participants