Found an unexpected Mach-O header code: 0x72613c21

Hi,


When I start validation before uploading ipa, I faced error as follows,

---------------------------------------------------------------------------------

Found an unexpected Mach-O header code: 0x72613c21

---------------------------------------------------------------------------------

I cannot finish validation.


Does anyone know solution?


OS : OS X 10.11 (15A284)

Xcode : Version 7.1 (7B91b)

Details are here,


2015-10-25 09:50:30 +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=}

2015-10-25 09:50:30 +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=}

I met the same issue.


I can build and run on my device, but when I try to export for adhoc, it failed.


Found an unexpected Mach-O header code: 0x72613c21


waiting for help!

I tried starting project over.

1. create new project.

2. copy source code, xib, storyboard files into new project step by step.

3. build project and create/export archive each adding files

4. i found file which cause error.


In my case, Fabric files causes error, so i re-isntall Fabric files, it worked.

This might be help.


-takecian.

I'll try it now, thank you!

Cocoapods 0.39 b4 and higher introduced that for me. Downgrading to 0.38 did solve the issue for me

I ran into this error with a FacebookSDK framework. I removed it from the Embed frameworks list and it solved the issue. Inspect the log and find the framework causing the error.

Found an unexpected Mach-O header code: 0x72613c21
 
 
Q