run custom shell script '[cp] copy pods resource

今天升级xcode9.0后,之前运行ok的程序编译报错:run custom shell script '[cp] copy pods resource

 Showing Recent Issues PhaseScriptExecution [CP]\ Copy\ Pods\ Resources...

我这边的部分库是pods来的,使用了友盟。

点击Pods

-->找到友盟的文件夹

run custom shell script '[cp] copy pods resource

-->点击Resources 每个xib文件

run custom shell script '[cp] copy pods resource

-->点击右侧展开属性栏

-->找到interface Builder Document

-->Builds For 换成7.0以后

run custom shell script '[cp] copy pods resource

再clean 编译,ok