title: SDWebImage building for archive (distribution)?
body: <p>I am using the SDWebImage open source project for loading images asynchronously.
  I can build &amp; run for the simulator as well as for my local device.
  However, when i try to build for distribution (i.e. Archive), the compiler doesn't seem to understand what the header file is:</p>
  
  <h1>import "UIImageView+WebCache.h" (no such file or directory).</h1>
  
  <p>I pretty much followed the instructions, with relative ease, described here on
  github.com/rs/SDWebImage.</p>
  
  <p>I knew things were going way too smoothily/easily to be true.
  Oddly, i've never really faced an issue that is exclusive to Archiving.
  Anybody tried Archiving with SDWebImage before?</p>
  
  <p><strong>* Updated *</strong>
  I updated based on comment below. Now i am getting the following error while Archive building:</p>
  
  <blockquote>
    <p>arm-apple-darwin10-llvm-gcc-4.2:
    Poll/BuildProductsPath/Release-iphoneos/libSDWebImage.a: No such file
    or directory Command
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2
    failed with exit code 1</p>
  </blockquote>
  
  <p>The strange thing is that i have the sdwebimage.a file in my project (there's actually 2, one that i copied and included, and the 2nd one from the SDWEbImage project itself).</p>
  
  <p><strong>* Update 2 *</strong>
  Upon further investigation, my SDWebImage project is NOT getting built when i Archive (the .a file is red). But any other build type works fine. I looked everywhere and it seems like the SDWebImage project has the distribution configurations. Not sure what else could be the issue here.</p>