title: tvos: iTunesConnect Validation Fails for Alamofire Framework: does not contain bitcode
body: <p>My tvOS App is failing validation after uploading to iTunesConnect for TestFlight distributions.</p>
  
  <p>Validation fails with the following message:</p>
  
  <blockquote>
    <p>Invalid Executable - The executable 'MyApp.app/Frameworks/Alamofire.framework/Alamofire' does not contain bitcode.</p>
  </blockquote>
  
  <p>My Cartfile: <code>github "Alamofire/Alamofire" "tvOS"</code>.</p>
  
  <p>I am using the release version of XCode 7.1. I don't see <code>ENABLE_BITCODE</code> for my tvOS target. (I assume bitcode is enabled for my target since it is mandatory for tvOS). Also, <code>BITCODE_GENERATION_MODE</code> is set to <code>bitcode</code> for the Alamofire tvOS branch.</p>
  
  <p><code>otool -l Carthage/Build/tvOS/Alamofire.framework/Alamofire | grep LLVM</code> does return nothing. So, it does seem like I am missing bitcode support.</p>
  
  <p>Things work fine on the simulator and on a real device.</p>
  
  <p>How do I build a bitcode supported version of the Alamofire framework using Carthage so that it passes Apple server side validation?</p>