title: Cordova 3.1.0: Plugin not found or is not a CDVPlugin
body: <p>I'm trying to build my first Cordova app and I can't get a plugin to work.</p>
  
  <p>My app was built using the Cordova command line interface, so I've added the Camera plugin this way:</p>
  
  <pre><code>cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git
  </code></pre>
  
  <p>My config.xml looks like this:</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;
  &lt;widget id="com.dev.myapp" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"&gt;
      &lt;name&gt;My App&lt;/name&gt;
      &lt;description&gt;
          A sample Apache Cordova application
      &lt;/description&gt;
      &lt;author email="dev@callback.apache.org" href="http://cordova.io"&gt;
          Apache Cordova Team
      &lt;/author&gt;
      &lt;content src="index.html" /&gt;
      &lt;access origin="*" /&gt;
      &lt;preference name="fullscreen" value="true" /&gt;
      &lt;preference name="webviewbounce" value="true" /&gt;
      &lt;feature name="Camera"&gt;
          &lt;param name="ios-package" value="CDVCamera" /&gt;
      &lt;/feature&gt;
  &lt;/widget&gt;
  </code></pre>
  
  <p>I've run <code>cordova build</code> and everything went fine, but when I build the project in Xcode it tells me first the <code>CDVCamera.h, CDVCamera.m files</code> are missing. Isn't the command line interface supposed to place those files correctly when I run <code>cordova plugin add</code> in the first place ? </p>
  
  <p>Also even if I copy the files manually in my project, the project runs but when I call the Camera functions it throws the following error:</p>
  
  <pre><code>ERROR: Plugin 'Camera' not found, or is not a CDVPlugin
  </code></pre>
  
  <p>I know I'm new to this, but I can't figure out what am i doing wrong ?</p>