美文网首页
The file “Pods-***.debug.xcconfi

The file “Pods-***.debug.xcconfi

作者: 沐心沐翡 | 来源:发表于2019-12-30 17:44 被阅读0次
巨型仙人掌🌵

前言:

切换分支的过程中发现本地变更了2598个文件,然而只是在没有任何待提交代码的基础上切换分支,一下子冒出来pod组件的.xcconfig等各种文件让再次提交,然后我就忽略掉了这些待提交的代码。切回原分支时,原有的分支就开始报错,pod更新本地依然无果,问题就这样了。

错误提示:

The file “Pods-******.debug.xcconfig” couldn’t be opened because there is no such file.

持续修改中……

debug失败,clean code依然失败。

搜索之后处理方式如下:

1Run pod deintegrate

2、Back up the {project}.xcodeproj/project.pbxproj file

3、Search for Pods in the file

4、Delete any blocks that include Pods

5、Rerun pod install

按照上述方法更新完成之后会发现只有{project}.xcodeproj/project.pbxproj 文件发生变动,映射的key在变,其余都不变,运行程序->build成功->run success。(暂存)储存这个变动文件,项目无任何变动,再次执行会发现,项目又OK了!!!奇哉!

处理方法参照stackoverflow :

https://stackoverflow.com/questions/53788055/the-file-pods-xxx-xcconfig-couldn-t-be-opened-because-there-is-no-such-file

附加project.pbxproj 文件的简单介绍:

https://www.jianshu.com/p/e82ec6a56fc2

相关文章

网友评论

      本文标题:The file “Pods-***.debug.xcconfi

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