Steps to fix not working blame for line in Xcode: -
1. Go to the project directory first.
2. Fist remove all the git process
use this command to find all git process `find . -name ".git"`
3. If there's anything other than ./.git in the output, remove it:
use this command to remove `rm -rf subfolder/some_folder/.git`
4. After that, you can delete your project folder and clone the same repo from
stash
use git clone "ssh key for your repo"
5. After cloning the project, an open project you will able to see blame for a
line.
In my case this steps resolved the problem, I am not sure that will work for all but at least try it once.