Found an Unexpected MACh-O Header Code: 1918975009 in Xcode 6

Found an unexpected Mach-O header code: 1918975009 in xCode 6

I had the same error. In my case it was caused by an universal framework that I accidentally copied into the resources of the app (which is unnecessary, since frameworks get merged directly into the main executable on iOS AFAIK).

So, select your target, click the "Build Phases" tab, and look through the "Copy Bundle Resources" list to see if you copy a library or framework that contains desktop architectures (i386 or x86_64).

Most likely, copying such a file is wrong, but if for some reason you have to, apparently it can only contain iOS compatible architectures.

iOS on archiving Found an unexpected Mach-O header code: 1918975009

As mentioned in comment, managing libraries via Cocoapods can resolve the issue. It manages the include path, linker flags and the bundled files automatically.

Crash with GoogleMaps on Xcode 9

I have the same issue.
just delete GoogleMaps folder in Pods project,and then "pod install" again.



Related Topics



Leave a reply



Submit