Xcode 10多个命令为Pod依赖关系生成错误 [英] Xcode 10 multiple commands build error for Pods dependency
本文介绍了Xcode 10多个命令为Pod依赖关系生成错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
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"
Copy pods resources
中的脚本似乎与正常的build命令冲突.我已经尝试了所有可用的解决方案
It seems like a script in Copy pods resources
is conflicting with the normal build command. I have tried all the available solutions
- 从
copy bundle resources
中删除冗余文件. - 更新cocoapods.
- 将
Build settings
下的product module
名称更改为 一个独特的. - 从
Copy Bundle Resources
中删除了info.Plist
- Removing redundant files from
copy bundle resources
. - Updating cocoapods.
- Changing
product module
name underBuild settings
to a unique one. - Removed info.Plist from
Copy Bundle Resources
临时修订:Xcode>文件>工作区设置>构建系统>选择旧版构建系统"
Temporary Fix: Xcode > File > Workspace Settings > Build System > Choose "Legacy Build System"
附加我的Copy Pods Resources
屏幕截图
推荐答案
将构建系统更改为 Legacy Build System
对我有用.
Changing build systems to Legacy Build System
works for me.
Xcode =>文件=>工作区设置=>构建系统=>更改为"Legacy Build System"
Xcode => File => Workspace Settings => Build System => Change to "Legacy Build System"
这篇关于Xcode 10多个命令为Pod依赖关系生成错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文