Xcode 10 Error: Multiple commands produce

更新了Xcode10,但是在编译项目时编译失败,报错内容:

Showing Recent Messages

:-1: Multiple commands produce '/Users/qyt/Library/Developer/Xcode/DerivedData/EMEatMain-aicawnzyamsdrwexxdyyhgjfzyzm/Build/Products/Debug-iphonesimulator/EMEatMain.app':

1) Target 'EMEatMain' has create directory command with output '/Users/qyt/Library/Developer/Xcode/DerivedData/EMEatMain-aicawnzyamsdrwexxdyyhgjfzyzm/Build/Products/Debug-iphonesimulator/EMEatMain.app'

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


Xcode 10 Error: Multiple commands produce_第1张图片
报错页面

分析error内容:

错误发生在 Copy Pods Resources,并且与 outpu t有关,应该是使用了cocoapods 导致的,尝试删除该项目target - > Copy Pods Resources - > Output Files,成功解决问题。


Xcode 10 Error: Multiple commands produce_第2张图片
删除Output Files

你可能感兴趣的:(Xcode 10 Error: Multiple commands produce)