Does tool automation trace allow only one target connection?

I created a simple javascript for my iOS application that I would like to run simultaneously on several iOSDevices connected via USB to one Mac computer. Launching tools connected to iPhone from the command line is fine, but if I try to run a second tool connected to an iPad , the first session of the tools freezes.




After completing the first tool session, I get one of the following lines:

Stopped: Script stopped due to device disconnection

After extensive research on this subject, without any results on this phrase, I tried to read what the Apple Instruments Guide means:

When you select "All processes", "Attach to a process" or "Select target" in the "Target" menu, "Tools" sets the default target for all tools in your selected program. However, there are times when you may need to set a different goal for each tool. You might want to try two different programs at the same time, for example, using the Sampler tool. If you have tools that can track all processes, you might want them to do just that, while tools from one process try only one process.

I am wondering if Automation.tracetemplate only tool for only one process, and what if another process starts with the same Automation trace, then the first is usurped.

Any recommendations would be appreciated, as this is the main unit for conducting our intensive automation tests across several iOSDevices .




March 27, 2012 Patch

The following is the email sent after the Apple error message (developer.apple.com/bugreporter):

I heard from a user interface automation engineer. Automation of the user interface is a single technological tool. Thus, you cannot use it simultaneously on multiple devices.

+61
ios instruments ios-ui-automation
Mar 13 '12 at 20:29
source share
3 answers

You can try installing OS X on a virtual machine and simultaneously run two instances of the virtual machine. I know that this may not be what you are looking for, but it should work.

+2
Aug 13 '13 at 20:42 on
source share

Try connecting all your devices to a Mac OS X server, and then try, if that doesn’t help the device transfer it to another, and then switch to mac

+1
Aug 20 '13 at 22:47
source share

You cannot run UI Automation on multiple devices at the same time. Interestingly, even Xcode 5 bots seem to have the same limitation .: - /

+1
Nov 19 '13 at 18:50
source share



All Articles