Skip to content

"Cannot debug over WIFI" on iOS device #8308

Closed

Description

@rxlabz

Same symptoms that #7233

When I run on an iOS device ( flutter run -d myDevice -v ), the app is not launched, and the logs are ending by :

[ +619 ms] ------ Debug phase ------
[        ] Cannot debug f58ff425258a52e7af3a8509246f6e3f5b3c113a (UNKN, Unknown Device, uknownos, unkarch) over WIFI.
[   +4 ms] Application launched on the device. Attempting to forward ports.

=>Complete logs

logs from an other try

If I disable the WIFI before running, it's work, and I can re-activate WIFI when the app is open.

Flutter Doctor

[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/rxlabz/dev/tools/flutter
    • Framework revision 1e1f7703cc (8 hours ago), 2017-02-21 12:22:26
    • Engine revision ab09530927
    • Tools Dart version 1.23.0-dev.0.0

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
    • Android SDK at /Users/rxlabz/Library/Android/sdk
    • Platform android-25, build-tools 25.0.2
    • Java(TM) SE Runtime Environment (build 1.8.0_111-b14)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.2.1, Build version 8C1002
    • ios-deploy 1.9.1

[✓] Android Studio (version 2.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Gradle version 2.14.1

[✓] IntelliJ IDEA Ultimate Edition (version 2016.3.4)
    • Dart plugin version 163.13137
    • Flutter plugin version 0.1.10

[✓] Connected devices
    • A3 A40    • 622004271815                             • android-arm • Android 6.0 (API 23)
    • RXMiniPad • f58ff425258a52e7af3a8509246f6e3f5b3c113a • ios         • iOS 10.2.1 (14D27)
    • iPad Air  • 2B4DFECA-26F5-43F6-96C7-771B3B32535B     • ios         • iOS 10.2 (simulator)

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    platform-iosiOS applications specifically
    on Feb 21, 2017
  2. changed the title [-]iOs device : "Cannot debug over WIFI"[/-] [+]"Cannot debug over WIFI" on iOS device[/+] on Feb 21, 2017
  3. cbracken commented on Feb 21, 2017

    @cbracken
    Member

    @rxlabz this should be fixed by #8309. Can you try flutter upgrade and see if things are working now even with wifi enabled?

  4. rxlabz commented on Feb 21, 2017

    @rxlabz
    ContributorAuthor

    It works from command line and from IntelliJ plugin ! 👍 thank you

  5. cbracken commented on Feb 21, 2017

    @cbracken
    Member

    Perfect! Thanks for confirming!

  6. prashantkaria commented on May 25, 2018

    @prashantkaria

    I found this link - and I followed the same and it worked for me. Make sure you are on the same network and your device is added to provisioning profile.

  7. rob-patchett commented on Jun 3, 2018

    @rob-patchett

    @prashantkaria, this link is broken. Do you have an alternative? Thanks 🙂

  8. prashantkaria commented on Jun 4, 2018

    @prashantkaria
  9. dingtianran commented on May 11, 2019

    @dingtianran

    Looks like USB-c to lightning cable is still damn expensive 😅

  10. github-actions commented on Aug 30, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  11. locked as resolved and limited conversation to collaborators on Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions