title: Upgrading to xcode 4 error No architectures to compile for
body: <p>I am getting an error after upgrading to xcode 4, for all of the library projects that my application depends on.</p>
  
  <blockquote>
    <p>[BEROR]No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=i386, VALID_ARCHS=armv6).</p>
  </blockquote>