title: No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s)
body: <p><strong>Preface:</strong> I did look at <a href="https://stackoverflow.com/questions/22328882/xcode-5-1-no-architectures-to-compile-for-only-active-arch-yes-active-arch-x">similar question</a>s and none of the answers seemed to fix my problem.</p>
  
  <p>I am trying to build my xcode (version 5.1.1) project using: </p>
  
  <p><code>xcodebuild clean build -sdk iphonesimulator7.0 -arch "armv7s" ONLY_ACTIVE_ARCH=NO</code>, </p>
  
  <p>when I run this I get: <code>No architectures to compile for (ARCHS=armv7s, VALID_ARCHS=i386 x86_64)</code> as an error. I tried the above command with all of the VALID_ARCHS (rm64 armv7 armv7s) as inputs. So I then tried running this command: </p>
  
  <p><code>xcodebuild clean build -sdk iphonesimulator7.0 -arch "i386" ONLY_ACTIVE_ARCH=NO</code></p>
  
  <p>and I then get <code>No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s)</code> as an error. I tried running the above command with all the other VALID_ARCHS (i386 x86_64) and no luck with that either. I don't know why these architecture errors are occurring. I have cocoapods in my project, and the first answer in the link above didn't fix my issue. </p>