“Could not connect to lockdownd” while attempting to run flutter app

后端 未结 3 1615
离开以前
离开以前 2021-01-06 05:19

I am following the Get Started tutorial.

I can install everything, flutter doctor returns all checkmarks but in the end there is a message:

3条回答
  •  死守一世寂寞
    2021-01-06 05:23

    This workaround worked for me when loosing the connection:

    • close everything (Visual Studio Code, Xcode, Simulator)
    • disconnect any physical device
    • Start Visual Studio Code
    • connect a physical IOS phone
    • Start XCode
    • build from XCode (it will work)
    • Disconnect your physical device
    • Start without debug
    • You will be prompted to connect to a device

    and from there it worked again!

    This just to help to debug the loos of connection bug. I have also observed that it begins just after the "stop debugging" command from Visual Studio Code.

提交回复
热议问题