Xcode 8 - 缺少文件警告 [英] Xcode 8 - Missing Files warnings

查看:93
本文介绍了Xcode 8 - 缺少文件警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从使用Swift 2.3
升级到Xcode 8后,我发现了几个丢失的文件警告。它们都与我正在使用的pod相关。

Ever since upgrading to Xcode 8 using Swift 2.3 I have several missing files warnings. They are all related to pods that I am using.

缺少的文件是

*.xcscheme 
*.cpp
*.xcuserstate
*.swift

显示丢失文件的pod是

The pods that are showing missing files are


  • Realm(~38 of 43)

  • TextFieldEffects(~3 of 43)

  • BEMCheckBox(2/43)

如何解决此问题?

推荐答案

这只是一个Xcode错误。如果删除或重命名文件而不进行提交,Xcode会看到之前的 git 提交与当前状态之间的差异并报告这些警告。一旦你执行了包含文件删除/重命名的 git add ,它们就会消失。

This is just an Xcode bug. If you delete or rename a file without then doing a commit, Xcode sees the discrepancy between the previous git commit and the current state of things and reports these warnings. They go away as soon as you do a git add that includes the file deletion / rename.

这篇关于Xcode 8 - 缺少文件警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆