title: ERROR ITMS-9000: "This bundle is invalid. Apple is not currently accepting applications built
body: <p>I am trying to submit my first ruby motion application via apple application loader and I get the error:</p>
  
  <blockquote>
    <p>ERROR ITMS-9000: "This bundle is invalid. Apple is not currently
    accepting applications built with this version of the SDK." at
    SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)</p>
  </blockquote>
  
  <p>I have set my deployment target to '7.0' and my SDK_version to '7.0' in my rake file. I have tried updating Xcode, removing and reinstalling it. </p>
  
  <p>I believe the latest versions of Xcode comes with SDK 7.0.3. My iOS SDK version is 7.0, I can confirm from inspecting the Xcode package contents. I can also see from my compiled app that the iphoneos SDK is being set to '7.0' - any ideas why the app should still fail using this SDK? </p>
  
  <p>I've spend 5 hours online and there is no relevant solution to these versions. Could it be some other issue with my rake file? Is anyone else experiencing this? Thanks</p>
  
  <p>Using:</p>
  
  <ol>
  <li>mac air 10.8.5</li>
  <li>xcode Version 5.0.2 (5A3005)</li>
  <li>Application loader Version 2.9 (439)</li>
  <li>Rubymotion 2.20</li>
  </ol>
  
  <p>I am about the throw away 250 hours of development time. I have started a support ticket with apple and Rubymotion also.</p>
  
  <p><strong>UPDATE</strong>
  *<em>I have just received a reply from Rubymotion</em>*, Laurent and Joffrey were very quick in responding and they fixed my problem. I had to add the following line to my rake file:   </p>
  
  <pre><code>app.info_plist['DTSDKBuild'] = app.info_plist['DTPlatformBuild'] = '11B508'. 
  </code></pre>
  
  <p>This is what they said the problem was " The problem is likely in the RubyMotion build system where we generate the Info.plist key. It looks like we emit the wrong value when targeting the 7.0 SDK (we emit the value for 6.0) which could totally explain why the application loader refuses the app, since Apple only accepts apps built for 7.0 now." </p>
  
  <p>This is the first time they know of this to happen. will be fixed in ruby motion soon. Thanks to them</p>