title: How to fix Xcode 6.1 error while building IPA
body: <p>Just upgraded to Xcode 6.1 today, and guess what: Now I'm having trouble submitting builds using the TestFlight desktop app. Here's the error I'm getting while the app starts building the IPA:</p>
  
  <p><img src="https://i.stack.imgur.com/vXU1N.png" alt="The error"></p>
  
  <blockquote>
    <p>error: /usr/bin/codesign --force
    --preserve-metadata=identifier,entitlements,resource-rules --sign 854059d45eed724593debef577a562e1ba96ab55
    --resource-rules=/tmp/QYFSJIvu7W/Payload/XX.app/ResourceRules.plist
    /tmp/QYFSJIvu7W/Payload/XX.app failed with error 1. Output:
    Warning: usage of --preserve-metadata with option "resource-rules"
    (deprecated in Mac OS X >= 10.10)! Warning: --resource-rules has been
    deprecated in Mac OS X >= 10.10!
    /tmp/QYFSJIvu7W/Payload/XX.app/ResourceRules.plist: cannot read
    resources</p>
  </blockquote>
  
  <p>The 'Support Article' has no idea what is going on.</p>
  
  <p>It does not seem to be a TestFlight problem because the same thing happens in a CI environment like Jenkins using the xcrun or similar tools.</p>
  
  <p>The app wasn't updated for months, so I know that I shouldn't be expecting for any updates to fix this anytime soon. It used to work really well for me and my clients so I'm not really keen on abandoning it for something else either. </p>
  
  <p>Any ideas for what this error is about, and how to fix it would be very appreciated.</p>