iOS-Multiple commands produce解决办法

今天新建工程,直接从老项目把文件拖过来,运行报错
Multiple commands produce ..... has compile command with input

Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/xxxProject-adlllfyfkomerzbaicuyzrqemnjo/Build/Intermediates.noindex/xxxProject.build/Debug-iphoneos/xxxProject.build/Objects-normal/arm64/AFRCDPerson+CoreDataClass.o':
1) Target 'xxxProject' (project 'xxxProject') has compile command with input '/Users/user/Desktop/xxxProject/xxxProject/Class/LockManager/ArcSoftFaceEngine/database/AFRCDPerson+CoreDataClass.m'
2) Target 'xxxProject' (project 'xxxProject') has compile command with input '/Users/user/Library/Developer/Xcode/DerivedData/xxxProject-adlllfyfkomerzbaicuyzrqemnjo/Build/Intermediates.noindex/xxxProject.build/Debug-iphoneos/xxxProject.build/DerivedSources/CoreDataGenerated/FSDKFR/AFRCDPerson+CoreDataClass.m'

去到 TARGETS > Build phase 下面,搜索文件名字,在Copy Bundle Resource和Compile Sources下面,删除即可。

你可能感兴趣的:(iOS-Multiple commands produce解决办法)