升级Xcode10报错 Error: Multiple commands produce

错误信息:
error: Multiple commands produce '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/Build/Products/Debug-iphonesimulator/xxxApp.app/Info.plist':

  1. Target 'xxxApp' (project 'xxxApp') has copy command from '/Users/xxx/xxxApp/Main/Info.plist' to '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/Build/Products/Debug-iphonesimulator/xxxApp.app/Info.plist'
  2. Target 'xxxApp' (project 'xxxApp') has process command with output '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx/Build/Products/Debug-iphonesimulator/xxxApp.app/Info.plist'

通过查阅资料发现是构建系统配置问题,解决方法

打开Xcode > File > Workspace Settings设置Build Systemlegacy Build System
警告解决!

补充:
在Stack Overflow看到有大神说把 Target > Build Phases > Compile SourcesCopy Bundle Resources文件全部删除,并且也解决了报错问题并且没有出错!
这是原文截图,可以做好备份尝试下

你可能感兴趣的:(升级Xcode10报错 Error: Multiple commands produce)