title: XCTest Assertion Failure: Failure requesting automation session
body: <p>I am trying to run XCUI test cases using following command on one app</p>
  
  <pre><code>xcodebuild test-without-building -xctestrun $buildtestxctestrun_file -destination id=badded265a19dea8bxxxxxxxxxxxxx
  </code></pre>
  
  <p>Xcode Version 10.0<br>
  Device iPad Air OS 12.0.1</p>
  
  <p>I have attached the screenshot of error log.</p>
  
  <p><a href="https://i.stack.imgur.com/2c5pv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2c5pv.png" alt="enter image description here"></a></p>
  
  <p>I can run test cases for different application using same device it works fine.<br>
  I am getting this error on this particular application.<br>
  Please help me guys.</p>