本文主要是介绍Found an unexpected Mach-O header code: 1918975009 in xCode 6,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
私有的framework加入资源中之后,打包报错
Found an unexpected Mach-O header code: 1918975009 in xCode 6
I archived my project to send out as an ad hoc
build and it builds/links/archives just fine but when I'm in the xCode
organizer and select Export -> Ad Hoc
,
I get the error
Found an unexpected Mach-O header code: 191897500.
解决方法:
检查resources中,不允许存在iOS不支持的结构(例如模拟器架构):
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.
这篇关于Found an unexpected Mach-O header code: 1918975009 in xCode 6的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!