title: Issues when submitting to App Store ITMS-90087 ITMS-90635 ITMS-90209 ITMS-90125 ITMS-90080
body: <p>I’m running into some issues when submitting my app the the App Store.</p>
  
  <p>I am using Swift 3.0.3 as well as Carthage to handle my frameworks.</p>
  
  <p>When I’m submitting via xcode I get the following errors :</p>
  
  <blockquote>
    <p>WARNING ITMS-90080: "The executable
    'Payload/XXXXXX.app/Frameworks/TOCropViewController.framework' is not
    a Position Independent Executable. Please ensure that your build
    settings are configured to create PIE executables. For more
    information refer to Technical Q&amp;A QA1788 - Building a Position
    Independent Executable in the iOS Developer Library."</p>
    
    <p>ERROR ITMS-90125: "The binary is invalid. The encryption info in the
    LC_ENCRYPTION_INFO load command is either missing or invalid, or the
    binary is already encrypted. This binary does not seem to have been
    built with Apple's linker."</p>
    
    <p>ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at
    'XXXXXX.app/…/TOCropViewController.fram…/TOCropViewController' does
    not have proper segment alignment. Try rebuilding the app with the
    latest Xcode version."</p>
    
    <p>ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle
    "XXXXXXX.app/Frameworks/DropDown.framework" isn’t consistent with the
    Mach-O in the main bundle. The main bundle Mach-O contains
    armv7(bitcode) and arm64(bitcode), while the nested bundle Mach-O
    contains X86_64ALL(machine code). Verify that all of the targets for a
    platform have a consistent value for the ENABLE_BITCODE build
    setting."</p>
    
    <p>ERROR ITMS-90087: "Unsupported Architectures. The executable for
    XXXXX/Frameworks/SVProgressHUD.framework contains unsupported
    architectures '[x86_64, i386]’."</p>
  </blockquote>
  
  <p>Could someone help me with that? </p>
  
  <p>Some Extra info:</p>
  
  <p>I am using the following list of framework:</p>
  
  <ul>
  <li>github "Alamofire/Alamofire" ~> 4.0</li>
  <li>github "jonkykong/SideMenu" "master"</li>
  <li>github "SVProgressHUD/SVProgressHUD"</li>
  <li>github "<a href="https://github.com/TimOliver/TOCropViewController" rel="nofollow noreferrer">https://github.com/TimOliver/TOCropViewController</a>"</li>
  <li>github "evgenyneu/Auk" ~> 7.0</li>
  <li>github "MortimerGoro/MGSwipeTableCell"</li>
  <li>github "AssistoLab/DropDown"</li>
  </ul>
  
  <p>And here are some snapshots of the errors:</p>
  
  <p><a href="https://i.stack.imgur.com/yLm96.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yLm96.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/msVUK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/msVUK.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/I4xdS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I4xdS.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/V6nVH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V6nVH.png" alt="enter image description here"></a></p>