Xcode 10 打开工程提示"Info.plist文件"错误的解决方法

因为要查找iOS12 崩溃问题,所以装了个Xcode10 beta2,但是打开工程后报类似以下的编译错误:

1
2
3
4
Showing Recent Messages
:-1: Multiple commands produce '/Users/xxx/Library/Developer/Xcode/DerivedData/xx/xx/xx.app/Info.plist':
1) Target 'xxx' has copy command from '/Users/xxx/Desktop/xxxx/Supporting Files/Info.plist' to '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/xx/xx.app/Info.plist'
2) Target 'xxx' has process command with input '/Users/xxx/Desktop/xxx/Supporting Files/Info.plist'

百度了以下,发现出现这样问题的情况还挺多,但是都没有给出准确的解决办法
经过摸索,我找到一个解决办法:

进入’Build Phases’ -> ‘Copy Bundle Resources’ ,然后找到’Info.plist’并删掉