title: Found an unexpected Mach-O header code: 0x72613c21 on submitting to App Store
body: <p>I know there are a lot of possible solutions but none of them have worked for me so far. I am using a framework called Alamofire.framework and Kingfisher.framework. I built an iOS App which I would like to submit to AppStore. I archived it and then I come in the Archives window and click "Upload to App Store". </p>
  
  <blockquote>
    <p>The following error occurs: "Found an unexpected Mach-O header code:
    0x72613c21" with the following logs:</p>
    
    <p>IDEDistribution.critical.log</p>
    
    <p>2016-01-08 06:00:47 +0000 [MT] Failed to generate distribution items
    with error: Error Domain=DVTMachOErrorDomain Code=0 "Found an
    unexpected Mach-O header code: 0x72613c21"
    UserInfo={NSLocalizedDescription=Found an unexpected Mach-O header
    code: 0x72613c21, NSLocalizedRecoverySuggestion=} 2016-01-08 06:00:47
    +0000 [MT] Presenting: Error Domain=DVTMachOErrorDomain Code=0 "Found an unexpected Mach-O header code: 0x72613c21"
    UserInfo={NSLocalizedDescription=Found an unexpected Mach-O header
    code: 0x72613c21, NSLocalizedRecoverySuggestion=}</p>
    
    <p>IDEDistribution.standard.log</p>
    
    <p>2016-01-08 06:00:47 +0000 [MT] Beginning distribution assistant for
    archive: UCDA, task: Validate 2016-01-08 06:00:47 +0000 [MT]
    Automatically selecting the only availaable distribution method
    
    2016-01-08 06:00:47 +0000 [MT] [OPTIONAL] Didn't find archived user
    entitlements for
    :
    Error Domain=NSCocoaErrorDomain Code=4 "Item at
    "/Users/chikitin/Library/Developer/Xcode/Archives/2016-01-07/UCDA
    1-7-16, 11.59
    PM.xcarchive/Products/Applications/UCDA.app/Frameworks/FBSDKLoginKit.framework"
    did not contain a "archived-expanded-entitlements.xcent" resource."
    UserInfo={NSLocalizedDescription=Item at
    "/Users/chikitin/Library/Developer/Xcode/Archives/2016-01-07/UCDA
    1-7-16, 11.59
    PM.xcarchive/Products/Applications/UCDA.app/Frameworks/FBSDKLoginKit.framework"
    did not contain a "archived-expanded-entitlements.xcent" resource.}
    2016-01-08 06:05:27 +0000 [MT] Canceled distribution assistant  </p>
    
    <p>IDEDistribution.verbose.log</p>
    
    <p>2016-01-08 06:00:47 +0000 [MT] IDEDistributionItem init
    </p>
  </blockquote>
  
  <p>I hope someone could help me with this.</p>
  
  <p>Thanks a lot!</p>