Is it possible to run Fastlane/Snapshot on device instead of Simulator?

早过忘川 提交于 2019-12-11 06:05:26

问题


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.

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?

Thank you!


回答1:


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



来源:https://stackoverflow.com/questions/38264630/is-it-possible-to-run-fastlane-snapshot-on-device-instead-of-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!