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".
The following error occurs: "Found an unexpected Mach-O header code: 0x72613c21" with the following logs:
IDEDistribution.critical.log
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=}
IDEDistribution.standard.log
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
IDEDistribution.verbose.log
2016-01-08 06:00:47 +0000 [MT] IDEDistributionItem init
I hope someone could help me with this.
Thanks a lot!