iOS:通过命令行在设备上部署和运行应用程序而不进行越狱 [英] iOS: Deploy and run app on device through command-line without jailbreaking

查看:389
本文介绍了iOS:通过命令行在设备上部署和运行应用程序而不进行越狱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法来自动化iOS的开发测试周期,大多数流行的方式似乎是越狱然后ssh。这包括两个步骤:

I'm looking for a way to automate dev-test cycles for iOS and most popular ways seemed to be jailbreak then ssh. This includes two steps:


  1. 使用命令行从Mac / PC部署我的应用程序到设备。

  2. 从Mac / PC命令行在设备上运行应用程序。

然而,由于iOS6和iPhone5官方越狱已经不稳定这让我想找到一个不基于越狱的替代解决方案。

However, since iOS6 and iPhone5 the official jailbreaking had been flaky which made me want to find an alternative solution not based on jailbreak.

我见过fruitstrap和这篇文章

I've seen fruitstrap and this post.

然而,前者不再维持,而后者似乎远非官方或稳定。所以在这里我再次感谢任何想法!

However, the former is no longer maintained and the latter seems to be far from official or stable. So here I am again, any idea is appreciated!

推荐答案

您可以在命令行上运行仪器来启动您的应用程序(和在模拟器中运行自动化测试。根据我的理解,这也适用于真实的设备。

You can run instruments on the command line to launch your app (and run your automated tests) in the simulator. From what I understand this works with a real device as well.

有关更多信息,请参阅此问题:

See this question for more information:

通过真实设备上的命令行进行自动化

这篇关于iOS:通过命令行在设备上部署和运行应用程序而不进行越狱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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