ios – Xcode 10多个命令为Pods依赖构建错误
发布时间:2020-12-14 19:02:01 所属栏目:百科 来源:网络整理
导读:Multiple commands produce '/Users/abc/Library/Developer/Xcode/DerivedData/MyProject-cworwzaxajsmfkcfvourofovbggd/Build/Products/QA-iphonesimulator/MyProject.app':1) Target 'MyProject' has create directory command with output '/Users/abc/Li
Multiple commands produce '/Users/abc/Library/Developer/Xcode/DerivedData/MyProject-cworwzaxajsmfkcfvourofovbggd/Build/Products/QA-iphonesimulator/MyProject.app': 1) Target 'MyProject' has create directory command with output '/Users/abc/Library/Developer/Xcode/DerivedData/MyProject-cworwzaxajsmfkcfvourofovbggd/Build/Products/QA-iphonesimulator/MyProject.app' 2) That command depends on command in Target 'MyProject': script phase “[CP] Copy Pods Resources” 似乎复制窗格资源中的脚本与正常的构建命令冲突.我已经尝试了所有可用的解决方案 >从副本包资源中删除冗余文件. 临时修复:Xcode>文件>工作区设置>构建系统>选择“遗留构建系统” 附加我的Copy Pods Resources截图 解决方法
请尝试sudo gem update cocoapods并更新您的cocoapods版本.这解决了我的情况.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |