如何在“cordova run ios”之后停止 [英] how to stop after "cordova run ios"

查看:218
本文介绍了如何在“cordova run ios”之后停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在终端中使用 cordova run ios 后,停止运行的命令是什么?

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

关于这个与1回答说它退出但是没有工作。
现在我每次关闭终端都很费时。

I found one topic about this with 1 answer saying it's quit but that didn't work. Right now I close terminal every time which is very time consuming.

如果我按ctrl + c,我会得到以下结果:

If i press ctrl+c I get the following:


(lldb)^ CTraceback(最近一次调用):文件
/private/tmp/fruitstrap_.py,第17行,在connect_command
event = lldb.SBEvent()File/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/Python/lldb/init.py,
line 3395,在 init
this = _lldb.new_SBEvent(* args)KeyboardInterrupt错误:平台当前未连接执行
'/ tmp / fruitstrap-lldb中的命令-prep-cmds-'。 (lldb)platform select
remote-ios --sysroot'/ Users / doekewartena / Library / Developer / Xcode / iOS
DeviceSupport / 7.1.2(11D257)/ Symbols'platform:remote-ios
已连接:无SDK路径:
/ users / doekewartena / Library / Developer / Xcode / iOS DeviceSupport / 7.1.2
(11D257)/ Symbols(lldb)target create
/Users/doekewartena/Documents/jbc2014/platforms/ios/build/device/JBC2014.app
当前可执行文件设置为
'/ Users / doekewartena / Documents / jbc2014 / platforms / ios / build / device /JBC2014.app'
(armv7)。 (lldb)script
fruitstrap_device_app =/ private / var / mobile / Applications / E23498AF-29C5-4A9F-8AFB-6566631DB725 / JBC2014.app
(lldb)script fruitstrap_connect_url =connect://127.0 .0.1:12345
(lldb)命令脚本import/tmp/fruitstrap_.py(lldb)

命令脚本add -f fruitstrap_.connect_command connect(lldb)

命令脚本add -s异步-f fruitstrap_.run_command run
(lldb)命令脚本add -s异步-f
fruitstrap_.autoexit_command autoexit(lldb)connect(lldb)

run

(lldb) ^CTraceback (most recent call last): File "/private/tmp/fruitstrap_.py", line 17, in connect_command event = lldb.SBEvent() File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/Resources/Python/lldb/init.py", line 3395, in init this = _lldb.new_SBEvent(*args) KeyboardInterrupt error: the platform is not currently connected Executing commands in '/tmp/fruitstrap-lldb-prep-cmds-'. (lldb) platform select remote-ios --sysroot '/Users/doekewartena/Library/Developer/Xcode/iOS DeviceSupport/7.1.2 (11D257)/Symbols' Platform: remote-ios Connected: no SDK Path: "/Users/doekewartena/Library/Developer/Xcode/iOS DeviceSupport/7.1.2 (11D257)/Symbols" (lldb) target create "/Users/doekewartena/Documents/jbc2014/platforms/ios/build/device/JBC2014.app" Current executable set to '/Users/doekewartena/Documents/jbc2014/platforms/ios/build/device/JBC2014.app' (armv7). (lldb) script fruitstrap_device_app="/private/var/mobile/Applications/E23498AF-29C5-4A9F-8AFB-6566631DB725/JBC2014.app" (lldb) script fruitstrap_connect_url="connect://127.0.0.1:12345" (lldb) command script import "/tmp/fruitstrap_.py" (lldb)
command script add -f fruitstrap_.connect_command connect (lldb)
command script add -s asynchronous -f fruitstrap_.run_command run (lldb) command script add -s asynchronous -f fruitstrap_.autoexit_command autoexit (lldb) connect (lldb)
run


推荐答案

如果使用cordova cli构建项目,Xcode不应该运行。这很可能解决您的问题。

Xcode shouldn't be running if you are building your project using cordova cli. This will most likely solve your problem.

这篇关于如何在“cordova run ios”之后停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆