今天升级xcode9.0后,之前运行ok的程序编译报错:run custom shell script '[cp] copy pods resource
Showing
Recent Issues PhaseScriptExecution [CP]\ Copy\ Pods\ Resources...
我这边的部分库是pods来的,使用了友盟。
点击Pods
-->找到友盟的文件夹
-->点击Resources 每个xib文件
-->点击右侧展开属性栏
-->找到interface Builder Document
-->Builds For 换成7.0以后
再clean 编译,ok
升级到Xcode9.0后,项目出现'PhaseScriptExecution [CP] Copy Pods Resources'的编译错误。解决方法是检查Pods中库的资源文件,特别是友盟的xib文件。在每个xib文件的属性栏中,将'Interface Builder Document'的'Builds For'设置为7.0及以上,然后进行clean和重新编译,问题即可解决。
717

被折叠的 条评论
为什么被折叠?



