git error:无法索引文件Crashlytics.framework / Headers [英] git error: unable to index file Crashlytics.framework/Headers

查看:1595
本文介绍了git error:无法索引文件Crashlytics.framework / Headers的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Fabric中的Crashlytics刚刚更新了自己,现在我无法将我的项目提交到 git 。我收到错误:

lockquote
git error:无法索引文件 Crashlytics.framework / Headers $ b

致命:更新文件失败




任何想法出了什么问题或如何解决它?

运行 git status 显示:

未记录的文件:
(使用git add< file> ...来包含将要提交的内容)

Crashlytics.framework / Info .plist
Fabric.framework / Info.plist
profile.xcodeproj / project.xcworkspace / xcuserdata /
profile.xcodeproj / xcuserdata /


解决方案

进入终端并手动提交git解决了这个问题。所有我在xcode中的进一步提交都起作用了。

  git add。 
git commit -mmessage


I am using Twitter's Fabric on my iOS app.

Crashlytics in Fabric just updated itself and now I cannot commit my project to git. I get the error:

git error: unable to index file Crashlytics.framework/Headers

fatal: updating files failed

Any idea what is going wrong or how to fix it?

Running git status reveals:

Untracked files:
(use "git add <file>..." to include in what will be committed)

Crashlytics.framework/Info.plist
Fabric.framework/Info.plist
profile.xcodeproj/project.xcworkspace/xcuserdata/
profile.xcodeproj/xcuserdata/

解决方案

Going into terminal and manually committing to git solved the issue. All my further commits in xcode have worked since.

git add .
git commit -m "message"

这篇关于git error:无法索引文件Crashlytics.framework / Headers的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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