title: Shell Script Invocation Error in Xcode 6
body: <p>I used to compile universal static library with iOS-Universal-Framework, and works fine until I upgrade Xcdoe to 6. </p>
  
  <p>I got the following error</p>
  
  <pre><code>** BUILD SUCCEEDED **
  </code></pre>
  
  <p>Create universal static library
  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool -static /Users/taofang/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphoneos/xxx.framework/xxx /Users/taofang/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/xxx.framework/xxx -o /Users/taofang/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphoneos/xxx.framework/xxx.temp
  error: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/libtool: can't open file: /Users/taofang/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/xxx.framework/xxx (No such file or directory)</p>
  
  <p>If i use Xcode 5 to do the job, it will be fine.</p>
  
  <p>Beside, I selected Device as my compile target, but why the libtool tries to open a file under iphonesimulator folder?</p>