解决Xcode Found an unexpected Mach
2017-02-28 本文已影响102人
SunshineAutumn
东西写着写着突然运行不了了,开始报Found an unexpected Mach-O header code: 0xe8b4afe8的错:
![](https://img.haomeiwen.com/i1649280/dc2b9fb4ce54c488.png)
之后查到问题出在自己创建的一个Text文件出现在了Copy bundle 热resourcse中,解决方法如下:将自己创建的Text文件在Copy bundle resources中移除即可
![](https://img.haomeiwen.com/i1649280/9f575edb2e135f5d.png)
![](https://img.haomeiwen.com/i1649280/3022c97c4e9d1959.png)
之后就可以运行了。