是否可以在设备而非模拟器上运行Fastlane / Snapshot? [英] Is it possible to run Fastlane/Snapshot on device instead of Simulator?

查看:79
本文介绍了是否可以在设备而非模拟器上运行Fastlane / Snapshot?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我开始使用Fastlane的快照工具。但是,快照似乎只能在模拟器环境中运行,这给我带来了问题,因为我正在使用的应用程序正在与Whatsapp交互,而Whatsapp无法在模拟器上使用。因此,我无法使用Snapshot拍摄应用程序中某些交互步骤的屏幕截图。

Recently, I started using Fastlane's Snapshot tool. However, Snapshot seems to run only in Simulator environment and that creates a problem for me since the app I'm working on is interacting with Whatsapp and Whatsapp cannot be used on simulator. Thus, I cannot take screenshots of some of the interactive steps of my app with Snapshot.

我的问题是:Snapfile中是否有任何设置,或者是否有其他使Snapshot在实际设备上而不是在模拟器上运行的方式?还是没有这样的选择,我需要考虑以不同的方式设置UI测试?

My question is: Are there any settings in Snapfile or some other ways of having Snapshot run on an actual device and not the simulators? Or there is no such option and I would need to think of setting my UI tests differently?

谢谢!

推荐答案

在深入研究Fastlane的发行板后,发现那里张贴了类似的问题。因此,确实无法在实际的设备atm上运行Snapshot,但目前正在研究具有此功能的可能性(开发人员的评论于5月19日发布)。
链接到Git帖子: https://github.com/fastlane/fastlane/issues / 1635

After digging into Fastlane's issue board, found out similar question posted there. So indeed, it is not possible to run Snapshot on a real device atm, but the possibility of having such feature is currently being looked into (dev's comment posted on May 19). Link to the Git post: https://github.com/fastlane/fastlane/issues/1635

这篇关于是否可以在设备而非模拟器上运行Fastlane / Snapshot?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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