iphone 在临时构建上使用仪器进行自动化测试
我已经创建了一个java脚本来为我的iphone应用程序运行冒烟测试。我可以通过具有开发人员配置文件的构建工具运行此脚本,但是当我尝试使用 adHoc 配置文件(生产构建)进行构建时,它不起作用。
请给我一些想法,我们是否可以为临时构建应用程序运行自动化测试用例,或者是否有任何解决方法。
否则我必须仅在具有开发人员配置文件的构建上运行这些测试用例,这无法解决我的目的。
我得到的错误是 “目标运行失败:遇到远程异常:‘无法获取 PID 143 的任务’”
谢谢!!
i have crated a java script to run smoke test for my iphone application. i am able to run this script through instruments for build which has developer profile but when i try the same thing with build with adHoc profile (Production build), it doesn't work.
Please give me some idea that whether we can run automation test cases for adhoc build app or is there any work around for it.
otherwise i have to run these test cases only on build having developer profile which will not solve my purpose.
i get the error that
"Target failed to run: remote exception encountered:'Failed to get task for PID 143'"
Thanks!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
分析是一种调试,分析应用程序的所有进程。调试只能在开发版本上执行。您不能指望调试发行版 IPA。如果允许的话,您可以调试应用程序商店中的任何应用程序,甚至是苹果的应用程序。
Profiling is a kind of debugging where all processes of an app are analyzed. Debugging can only be performed on developmemt builds. You ca't expect to debug a distribution IPA. If that was allowed, you could have debugged any app from app store or even Apple's apps.