title: Gradle Xcode Plugin - xcodebuild task fails
body: <p>I've started experimenting with the <a href="http://openbakery.org/gradle.html" rel="nofollow">Openbakery Gradle Xcode Plugin</a> and I've added this <code>build.gradle</code> file to my iOS Cocoa Touch Framework project:</p>
  
  <pre><code>plugins {
      id "org.openbakery.xcode-plugin" version "0.11.4"
  }
  
  xcodebuild {
      target = 'RetailSDK'
  }
  </code></pre>
  
  <p>If I run the <code>build</code> Gradle task or the <code>xcodebuild</code> Gradle task, the <code>xcodebuild</code> step fails with output as follows:</p>
  
  <pre><code>:iOS:cocoapods
  :iOS:xcodebuildConfig
  :iOS:infoplistModify
  Updating /Users/AdilHussain/Work/client-sdk/iOS/RetailSDK/Info.plist
  Nothing was modifed!
  :iOS:keychainClean
  :iOS:keychainCreate SKIPPED
  :iOS:provisioningClean
  :iOS:provisioningInstall SKIPPED
  :iOS:xcodebuild
  xcodebuild: error: The flag -scheme is required when specifying -derivedDataPath.
  
  Done
  :iOS:keychainRemove
  
  BUILD SUCCESSFUL
  </code></pre>
  
  <p>The <code>build</code> folder in my iOS Framework project following the build contains no <code>RetailSDK.framework</code> output; only a <code>project.plist</code> file and an <code>xcodebuild-output.txt</code> file with the same error message as what is printed in the terminal, i.e.</p>
  
  <pre><code>xcodebuild: error: The flag -scheme is required when specifying -derivedDataPath.
  </code></pre>
  
  <p>Interestingly enough, this error message is also visible at the bottom of <a href="http://openbakery.org/getting-started.html" rel="nofollow">this</a> Getting Started document.</p>
  
  <p>So, question is: is it possible to build an iOS Cocoa Touch Framework project using this plugin and, if so, how?</p>