美文网首页
iOS-Multiple commands produce解决办

iOS-Multiple commands produce解决办

作者: 卓敦 | 来源:发表于2021-02-01 15:36 被阅读0次

今天新建工程,直接从老项目把文件拖过来,运行报错
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解决办

      本文链接:https://www.haomeiwen.com/subject/loojtltx.html