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下面,删除即可。

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

友情链接更多精彩内容