title: iOS Xcode: building a 32-bit project with a 32-bit/64-bit subproject
body: <p>I have a number of iOS Xcode projects that all use the same subproject. This subproject builds a static library, that's then linked to the master project. Up until now this subproject and all master projects have been 32-bit.</p>
  
  <p>I want to build a new project with 64-bit support, so have set the architecture to "armv7, armv7s, arm64".</p>
  
  <p>Of course, I had to update the shared subproject to "armv7, armv7s, arm64" as well.</p>
  
  <p>Everything builds fine.</p>
  
  <p>However, now when I build old 32-bit-only projects to run on 64-bit devices it fails, because Xcode builds a 64-bit non-fat version of the static library from the subproject, which it can't link to.</p>
  
  <p>Is there a way to tell Xcode (linker flag?) to build and link to the 32-bit version of the subproject, because the master project is 32-bit?</p>
  
  <p>Thanks,</p>
  
  <p>Russell.</p>