title: xcode 9 force automatic sign method in exportOptions
body: <p>I'm using a script to build and archive iOS apps. All was working fine since xcode 9.
  Now I receive the following error:</p>
  
  <pre><code>  2017-10-20 12:56:12.322 xcodebuild[25449:77625] [MT] IDEDistribution: Step failed: &lt;IDEDistributionSigningAssetsStep: 0x7fc927c861b0&gt;: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
        "Error Domain=IDEProvisioningErrorDomain Code=9 \"\"CC.app\" requires a provisioning profile with the Push Notifications and App Groups features.\" UserInfo={NSLocalizedDescription=\"CC.app\" requires a provisioning profile with the Push Notifications and App Groups features., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}",
  </code></pre>
  
  <p>I'm using the following exportOptions.plist</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
      &lt;key&gt;method&lt;/key&gt;
      &lt;string&gt;ad-hoc&lt;/string&gt;
      &lt;key&gt;teamID&lt;/key&gt;
      &lt;string&gt;xxxxxxx&lt;/string&gt;
      &lt;key&gt;uploadBitcode&lt;/key&gt;
      &lt;false/&gt;
      &lt;key&gt;uploadSymbols&lt;/key&gt;
      &lt;false/&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>And I DONT WANT specify a provisioning profile, the automatic feature works fine if I archive using xcode, instead of command line.</p>
  
  <p>Any suggestions?
  Thanks</p>