title: xctool build with today extension
body: <p>we have an app integrated with today extension, we use xctool and Jenkins to do continuous build and in-house distribution.</p>
  
  <p>In command line, before we use</p>
  
  <pre><code>xctool -workspace our_workspace.xcworkspace -scheme app_schme -xcconfig path_to_xcconfig -configuration Release build archive -archivePath path_to_archive
  </code></pre>
  
  <p>to generate archive and then export to .ipa, it works fine.</p>
  
  <p>But right now with today extension, we have to build it with another scheme and xcconfig, we put certificate and provisioning profile in xcconfig, as today extension is a new target and should built with its own certificate and provisioning profile, I'm wondering how to achieve using xctool.</p>
  
  <p>Any help is appreciated.</p>