title: Cordova iOS Plugins fail after building, unless I remove platform and plugin JSON first
body: <p>I have a Cordova 3.2.0 project, and I'm testing using the XCode emulator and an iPhone 4S over USB.</p>
  
  <p>When I execute the following, the app runs without error:</p>
  
  <pre><code>rm -rf platforms/ios
  rm plugins/ios.json
  cordova platforms add ios
  cordova build ios
  </code></pre>
  
  <p>If I then make any kind of change to my code, and re-run:</p>
  
  <pre><code>cordova build ios
  </code></pre>
  
  <p>I get the following errors when launching the app in XCode:</p>
  
  <blockquote>
    <p>ERROR: Plugin 'StatusBar' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
    2013-12-02 10:50:26.136 treemedia[774:60b] -[CDVCommandQueue executePending] [Line 127] FAILED pluginJSON = [
      "INVALID",
      "StatusBar",
      "_ready", [   ] ]</p>
    
    <p>ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
    2013-12-02 10:50:26.140 treemedia[774:60b] -[CDVCommandQueue executePending] [Line 127] FAILED pluginJSON = [
      "Device1738472658",
      "Device",
      "getDeviceInfo",
      [
      ]
    ]</p>
    
    <p>ERROR: Plugin 'NetworkStatus' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
    2013-12-02 10:50:26.143 treemedia[774:60b] -[CDVCommandQueue executePending] [Line 127] FAILED pluginJSON = [
      "NetworkStatus1738472659",
      "NetworkStatus",
      "getConnectionInfo",
      [
      ]
    ]</p>
  </blockquote>
  
  <p>In order to run the app without errors, I have to remove the platform and plugin json file, then re-add the ios platform and rebuild. If I skip those steps and just rebuild, these errors occur every time.</p>
  
  <p>This has only started happening since updating Phonegap/Cordova to 3.2.0 from a slightly earlier version.</p>