1. clang: error: no such file or directory: 'XXX'

造成的原因是因为我添加第三方库的时候不小心移动了Build Settings -> Other Linker Flags里面的顺序


2. Info.plist Utility Error

这里提到的plist,其实是.storyboard编译完成后产生的plist文件。地址在.app文件目录下后退到Build文件夹/Intermediates/项目名.build/运行环境/项目名.build。这个错误就是说这里缺少...Info.plist文件
暂时,我用的解决方法是(可能还有更好的)丢失plist文件的.storyboard右键单击选Open As -> Source Code 如图把标注的 那个version,我改成了6244,然后直接Run就通过好使了。有的时候Clean还会有这个问题!我暂时的解决方法是在改一下。如果有好的方法请在下面留言

网友评论