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

前端 未结 4 1509
暖寄归人
暖寄归人 2021-02-02 13:15

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:

4条回答
  •  再見小時候
    2021-02-02 13:55

    The same issue happen to me with the Bolts.framework and Parse.framework. Both were added in the git repo already, so adding them back did not fixed the issue. I had to remove first:

    cd MyApp/SDK/
    git rm -r Parse.framework/
    git rm -r Bolts.framework/
    

    The I had to copy them again in the SDK/ folder and adding to git

     cd MyApp/SDK/
     git add .
     git commit * -m "Maintenance: Fixed git error unable to index file"
    

提交回复
热议问题