加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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”

似乎复制窗格资源中的脚本与正常的构建命令冲突.我已经尝试了所有可用的解决方案

>从副本包资源中删除冗余文件.
>更新cocoapods.
>在Build settings下更改产品模块名称
一个独特的.
>从Copy Bundle Resources中删除了info.Plist

临时修复:Xcode>文件>工作区设置>构建系统>选择“遗留构建系统”

附加我的Copy Pods Resources截图

enter image description here

解决方法

请尝试sudo gem update cocoapods并更新您的cocoapods版本.这解决了我的情况.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读