title: xcodebuild: "No applicable devices found." when exporting archive
body: <p>As of Xcode 7†, the <code>xcodebuild</code> export archive step has been giving us errors. </p>
  
  <p>Build command</p>
  
  <pre><code>xcodebuild -exportArchive -archivePath "path/to/Thing.xcarchive" \
          -exportPath "path/to/" \
          -exportOptionsPlist path/to/PackageOptions-adhoc.plist
  </code></pre>
  
  <p>yields</p>
  
  <pre><code>2015-10-08 16:28:27.409 xcodebuild[62682:464728] [MT] IDEDistribution: Step failed: &lt;IDEDistributionThinningStep: 0x7ff1a42d23f0&gt;: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo=0x7ff1a72ddd80 {NSLocalizedDescription=No applicable devices found.}
  error: exportArchive: No applicable devices found.
  
  Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo=0x7ff1a72ddd80 {NSLocalizedDescription=No applicable devices found.}
  
  ** EXPORT FAILED **
  </code></pre>
  
  <p>What gives? How to fix?</p>
  
  <hr>
  
  <p>† 7.0 &amp; 7.0.1, on Mavericks.</p>