Xcode 10.1 中关于 Error: Multiple commands produce

时间:2024-04-13 08:36:40

在Xcode10.1中运行老老项目报错

Showing All Messages

:-1: Multiple commands produce '/Users/admin/Library/Developer/Xcode/DerivedData/XXXX-bnyvsdtibribvravsndkjcucttza/Build/Products/Debug-iphoneos/XXXX.app/btn_backspace_pressed.png':

1) Target 'XXX' (project 'XXX') has copy command from '/Users/admin/Desktop/root/btn_backspace_pressed.png' to '/Users/admin/Library/Developer/Xcode/DerivedData/XXX-bnyvsdtibribvravsndkjcucttza/Build/Products/Debug-iphoneos/XXX.app/btn_backspace_pressed.png'

2) Target 'XXX' (project 'XXX') has copy command from '/Users/admin/Desktop/root/video_dialar/btn_backspace_pressed.png' to '/Users/admin/Library/Developer/Xcode/DerivedData/XXX-bnyvsdtibribvravsndkjcucttza/Build/Products/Debug-iphoneos/XXX.app/btn_backspace_pressed.png'

不使用New Build System,在Xcode中 file--->project setting 里build system 将New Build System(Default)切换成Legacy build system。

.Xcode 10.1 中关于 Error: Multiple commands produce