title: Export archive error for Xcode project containing app clip
body: <p>We are using Jenkins to automate building of our iOS project. Everything was working just fine out of the box until we integrated App Clip into the Xcode project. The error says (I changed real bundle id):</p>
  <pre><code>error: exportArchive: Provide a bundle identifier to select from
  available reformatters: com.example.myapp and com.example.myapp.Clip
  
  Error Domain=IDEDistributionReformatterSelectionStepErrorDomain
  Code=0 &quot;Provide a bundle identifier to select from available reformatters:
  com.example.myapp and com.example.myapp.Clip&quot;
  </code></pre>
  <p>I created <code>ExportOptions.plist</code> and set <code>distributionBundleIdentifier</code> equal to <code>com.example.myapp</code> inside it. Then in Jenkins <code>Advanced Xcode build options -&gt; Custom xcodebuild arguments</code> I added <code>-exportOptionsPlist ExportOptions.plist</code>.</p>
  <p>Jenkins asked me to provide <code>-exportArchive</code> additional key. After I did it, Jenkins told that it's illegal to have <code>scheme</code> and <code>exportArchive</code> together in command line.</p>
  <p>Does anyone have an idea how to fix it? Thanks.</p>