how to stop after “cordova run ios”

后端 未结 10 856
我在风中等你
我在风中等你 2020-12-16 20:12

What is the command to stop running after using cordova run ios in terminal?

I found one topic about this with 1 answer saying it\'s quit b

相关标签:
10条回答
  • 2020-12-16 20:22

    Having tried lots of different suggestions, the only thing that's worked for me is having another terminal window open, and when you're finished with the debugging run:

    pkill lldb

    That will close the app on the phone, and also return the original terminal window the command prompt neatly.

    0 讨论(0)
  • 2020-12-16 20:22

    You can use Command + C if you're using terminal on Mac.

    0 讨论(0)
  • 2020-12-16 20:25

    Simply press CTRL+C (in most unix shells)

    0 讨论(0)
  • 2020-12-16 20:29

    I enter "exit" and then press Y and hit enter. This works when it stops at lldb.

    0 讨论(0)
  • 2020-12-16 20:31

    If you use Ctrl-C after the debug phase but before it says (lldb) it will exit...

    0 讨论(0)
  • 2020-12-16 20:32

    It is probably because of an earlier version of ios-deploy, as it is described here.

    Check your version of ios-deploy, mine was 1.0.8:

    $ ios-deploy --version
    

    Check npm version of ios-deploy, current is 1.1.0:

    $ npm info ios-deploy version
    

    Update ios-deploy via npm:

    $ sudo npm update -g ios-deploy
    

    After $ cordova run you can now type exit and press ENTER. After this, type y and press ENTER to exit the process.

    0 讨论(0)
提交回复
热议问题