在更新了新版本的Xcode之后,把File → Workspace Settings 里面的 Build System 改成了 New Build system 之后,开始报错了。
报错信息:
Multiple commands produce '/Users/aidong/Library/Developer/Xcode/DerivedData/iSport-gpisftmtduwpzaazaakikypxvvpb/Build/Products/Debug-iphoneos/iSport.app/LICENSE':
- Target 'iSport' (project 'iSport') has copy command from '/Users/aidong/Desktop/Ai_dong_4/iSport/extensions/JCBrightness/LICENSE' to '/Users/aidong/Library/Developer/Xcode/DerivedData/iSport-gpisftmtduwpzaazaakikypxvvpb/Build/Products/Debug-iphoneos/iSport.app/LICENSE'
- Target 'iSport' (project 'iSport') has copy command from '/Users/aidong/Desktop/Ai_dong_4/iSport/extensions/MJRefresh/LICENSE' to '/Users/aidong/Library/Developer/Xcode/DerivedData/iSport-gpisftmtduwpzaazaakikypxvvpb/Build/Products/Debug-iphoneos/iSport.app/LICENSE'
解决:把报错的那两个 LICENSE 删掉,如图
其他:
Multiple commands produceMultiple commands produce '/Users/XXX/Library/Developer/Xcode/DerivedDat...
Multiple commands produce ‘/Users/lyzbmacos2/Library/Developer/Xcode/DerivedDat
iOS -xcode 10 出现 :-1: Multiple commands produce '/Users/.../Library/Developer/Xcode/DerivedData/....