美文网首页
Build input file cannot be found

Build input file cannot be found

作者: CY水漆 | 来源:发表于2024-02-28 17:34 被阅读0次

Build input file cannot be found: '/Users/myMac/Desktop/XGPlus/GKVideoViewCell.m'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'XGPlus' from project 'XGPlus')

在项目中经常遇到这样的问题,此问题出现多在协同开发时,两个人引入了同一个文件,并且都提交了远程,虽然解决冲突时删除了一个,但是在编译文件里还存在一个默认的置灰的文件,此时需要到target > build phases ,里面会出现一个相同的,但是置灰的.m文件,把这个删除重新运行就可以

相关文章

网友评论

      本文标题:Build input file cannot be found

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