Thirty minutes ago I exported my application to take the ipa file.
Now after some changes I made to my code I tried to export it again but now I have this error:
An error occured during export Found an unexpected Mach-O header
I had the same issue.
Go to your projects Build Phases > Copy Bundle Resources and if you see any
.bundle file delete it!
Then run again all the process and will work. At least it worked for me this way!