title: XCode archive error: Negative length at /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication line 293
body: <p>I archive my application then go to "Organiser" and click "Share" I select "ipa" and then click "Next" and get an error saying "Negative length at /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication line 293.". I've Googled it but found nothing for this?</p>
  
  <p>EDIT:</p>
  
  <p>It's weird because if when I share I use the "Developer Profile" it works but if I select the Distribution Certificate it comes up with the error. I've regenerated the certificate and provisioning profile but still no joy! </p>
  
  <p>Please advise. </p>
  
  <p>James </p>