That command depends on command in Target 'XXX': script phase “[CP] Copy Pods Resources”

由于各种原因,最近没有开发iOS程序了,之前的项目放了好久也没动。最近,领导让改个需求,升级了最新的Xcode,发现项目打不开了

 Multiple commands produce 
'/Users/XXXX/Library/Developer/Xcode/DerivedData/YYYY- 
hbbiovvwitmvkrblqxqkthsyfong/Build/Products/Debug-iphoneos/YYYY.app':
1) Target 'YYYY' has create directory command with output 
'/Users/XXXX/Library/Developer/Xcode/DerivedData/Gallery- 
hbbiovvwitmvkrblqxqkthsyfong/Build/Products/Debug-iphoneos/YYYY.app'
2) That command depends on command in Target 'YYYYY': script phase “[CP] Copy Pods Resources”

报这个错误需要去到tagetsBuild Phases[CP]copy pods Resources 删除Output files里的${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}
路径如下:

28822146030092_.pic_hd.jpg

删除之后,就顺利编译通过了!

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容