Running multiple devices with calabash ios

混江龙づ霸主 提交于 2019-12-12 00:38:39

问题


Have been searching for a workaround to run multiple devices with calabash ios. AFAIK, calabash ios uses port 37265 and instrument to load and interact with the app. Instrument can also only run once at a time. I have read somewhere that we might need to use virtual machine, is that true? Is there any other way to achieve this? Thanks a bunch.


回答1:


From documentation I have only read the instructions on how to do it via WIFI. Would that be an option for you?

If so please refer to https://github.com/calabash/calabash-ios/wiki/07-Testing-on-physical-iDevices




回答2:


I have tried running Calabash over virtual machines, but I found the networking to be an issue since all VMs need to be on the same network. I was using one of my Macs wifi as an access point and for some reason, the devices kept losing their connection. I switched to using separate machines, and a router for my access point, and figured out how to build an IPA with the directions provided by the Calabash devs for testing on physical devices, then use ideviceinstaller (installed using homebrew) and able to test on multiple devices using the net/ssh gem to connect to them. There's a few environment variables to configure per session but its pretty solid once you get it going.



来源:https://stackoverflow.com/questions/23403142/running-multiple-devices-with-calabash-ios

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