title: Archive Validation works on iOS8, but not on iOS7, but runs on an iPhone4s
body: <p>So, I have an app that I pulled my hair out to get past an iOS8 deployment, and I finally got that into Testflight.</p>
  
  <p>I really do want this app to run on iOS7 as well, and really see no reason why it cannot. However, for the life of me, I cannot get it past the Archive/Validate phase. It does run on my iPhone4s running iOS7.1 directly out of Xcode, so I don't see what the problem is.</p>
  
  <p>I am using AlamoFire as a Target Dependency, but don't see why that would be a problem. However, my errors are in the picture below, since I can't select/copy the text on this stupid platform, so hopefully  you can read it.</p>
  
  <p><img src="https://i.stack.imgur.com/KvceI.png" alt="Archive Validation Errors"></p>
  
  <p>Regarding the first error, something says that AlamoFire should have a minimum of 8.0. I don't get it. I've fixed all the settings such that Deployment Target is set to 7.1. It is also set to use the Base SDK of 7.1 SDK. <em>Everything</em> is set to 7.1!! Everything builds, and the build succeeds. Again, this app runs on my iOS7.1 iPhone 4s. So what gives?</p>
  
  <p>The next error about Invalid Segment Alignment. I haven't a clue. This was a problem when building for iOS8, but as soon as I took care of the Position Independent Code settings it went away. Now it's back. </p>
  
  <p>The next error is about the LC_ENCRYPTION_INFO. I suspect this one is some result of something else not getting built. I had this error on the iOS8 build as well, but it went away when the other problems were addressed. I would like to know what is causing this error.</p>
  
  <p>The error about Invalid Architecture says the targets and frameworks have to support arm64. These settings all say to build for all the architectures arm64, armv7, armv7s. </p>
  
  <p>The last error is about the Position Independent Code thing. I got this on iOS8 initially, but followed the instructions about the settings in both targets and it went away. The settings haven't changed.</p>
  
  <p>Every time I changed a setting I've done a Clean/Build.  I am out of clues to fix this platform. Why does this app run on an iOS7.1 iPhone4s and I can't get it past the Apple gods?</p>