title: Adding image to an iOS App in cordova
body: <p>I am trying to create an iOS app using Cordova and is running into a problem.</p>
  
  <p>I have a cordova plugin in my project that has lot of image assets.</p>
  
  <p>When i generate the Xcode project, these image are not getting properly added to the Xcode project.</p>
  
  <p>Below is how I add image assets along with plugin.</p>
  
  <pre><code>     &lt;source-file src="src/ios/MySDK/XIBs/MyViewController.xib" /&gt;
      &lt;source-file src="src/ios/MySDK/libMy.a" framework="true" /&gt;
      &lt;source-file src="src/ios/MiSDK/MiRes" /&gt;
      &lt;framework src="AudioToolbox.framework" /&gt;
      &lt;framework src="AVFoundation.framework" /&gt;
      &lt;framework src="CoreGraphics.framework" /&gt;
      &lt;framework src="CoreMedia.framework" /&gt;
      &lt;framework src="CoreVideo.framework" /&gt;
      &lt;framework src="MobileCoreServices.framework" /&gt;
      &lt;framework src="QuartzCore.framework" /&gt;
      &lt;framework src="OpenGLES.framework" /&gt;
      &lt;framework src="Security.framework" /&gt;
      &lt;framework src="ImageIO.framework" /&gt;
      &lt;framework src="Foundation.framework" /&gt;
      &lt;framework src="Foundation.framework" /&gt;
      &lt;framework src="UIKit.framework" /&gt;
  &lt;/platform&gt;
  </code></pre>
  
  <p>In the snippet above, MiRes folder has all the image assets used by libMy.a.</p>
  
  <p>Currently to get things working I have to add the image assets manually in the Xcode project.</p>
  
  <p>Any help here would be appreciated.</p>
  
  <p>Thanks a lot in advance.</p>