I read there are issues trying to test multiple iOS devices (or at least the simulator) on Mac, and this affects Appium.
Suggestions were to use multiple machines to work around this, or run testing against devices serially rather than in parallel.
I was wondering if anybody tried the route of having a virtual Mac OS running on a Mac to give you 2 Macs on the same hardware. And then have XCode & Appium on the virtual and physical Macs so that you have ability to run 2 iOS simulators or devices in parallel.
I might try it but wanted to see if anybody tried it out already and whether that works or works reliably.
I will take a look at alternate user account option, although
FYI, I attempted 2 iOS devices before posting the thread, and was able to start up 2 drivers, but it’s not stable running simultaneously, eventually crashes one or both sessions/apps. Works fine for single device. Thus I asked about the VM route.
Well, I just tried it out. Ran 2 Mac VMs on Mac and was able to concurrently control 3 devices with Appium (one per Mac instance - 2 VMs, 1 physical Mac).
Took a bit of work setting up the VMs though as setting up Mac VMs on Mac is not that well documented, especially for VirtualBox.