Note that there are some explanatory texts on larger screens.

plurals
  1. POInstruments automation trace only allows one target connection?
    primarykey
    data
    text
    <p>I've created a simple javascript for my <code>iOS</code> app that I'd like to run simultaneously on multiple <code>iOSDevices</code> connected via USB to one host Mac machine. Launching instruments connected to an <code>iPhone</code> from the command line works fine but if I attempt to launch a second instruments connected to an <code>iPad</code>, the first instruments session hangs. </p> <hr> <p>Upon terminating the first instruments session, I get one of more of the following lines printed:</p> <blockquote> <p>Stopped: Script stopped due to device being disconnected</p> </blockquote> <p>After extensive research on the subject, with no results on the phrase, I've been trying to read into what is meant by Apple's Instruments Guide:</p> <blockquote> <p>When you choose All Processes, Attach to Process, or Choose Target from the Target menu, Instruments sets the default target for all instruments to the program you choose. There are occasions, however, when you might want to set a different target for each instrument. You might want to sample two different programs at the same time, for example, using the Sampler instrument. If you have some instruments that are capable of tracing all processes, you might want them to do just that while single-process instruments sample just one process.</p> </blockquote> <p>I'm wondering if the <code>Automation.tracetemplate</code> is a single-process only instrument and that if another process is started with the same Automation trace then the first is usurped.</p> <p>Any advice would be grateful as this is a major block for running our time intensive automation tests over multiple <code>iOSDevices</code>.</p> <hr> <p><strong>Update 27 Mar 2012</strong></p> <p>The following is from an email received after submitting a bug to Apple on the matter (developer.apple.com/bugreporter):</p> <blockquote> <p>I heard back from a UI Automation engineer. UI Automation is a single process Instrument. As such, you cannot use it simultaneously on multiple devices.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload