git error:无法索引文件Crashlytics.framework / Headers [英] git error: unable to index file Crashlytics.framework/Headers
问题描述
Fabric中的Crashlytics刚刚更新了自己,现在我无法将我的项目提交到 致命:更新文件失败 任何想法出了什么问题或如何解决它? 运行 git
。我收到错误:
lockquote
git error:无法索引文件 Crashlytics.framework / Headers $ c $
$ 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屋!