东西写着写着突然运行不了了,开始报Found an unexpected Mach-O header code: 0xe8b4afe8的错:

屏幕快照 2017-02-28 上午11.34.32.png
之后查到问题出在自己创建的一个Text文件出现在了Copy bundle 热resourcse中,解决方法如下:将自己创建的Text文件在Copy bundle resources中移除即可

屏幕快照 2017-02-28 上午11.42.52.png

屏幕快照 2017-02-28 上午11.43.01.png
之后就可以运行了。