更新了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”
分析error内容:
错误发生在 Copy Pods Resources,并且与 outpu t有关,应该是使用了cocoapods 导致的,尝试删除该项目target - > Copy Pods Resources - > Output Files,成功解决问题。