Cannot push to gitlab from xcode 7

前端 未结 5 1545
攒了一身酷
攒了一身酷 2021-01-05 02:59

One unhappy side effect of upgrading to Xcode 7 is that I can no longer push to my Gitlab repo. I have been pushing and pulling from my project without problem for the last

5条回答
  •  -上瘾入骨i
    2021-01-05 03:21

    My issue was that id_rsa was a symbolic link.

    My .ssh/id_rsa file was a symbolic link to another file. In xcode, I had specified this symbolic link as my ssh private key file.

    In this configuration, git pull was working but git push was failing.

    Then, in xcode, I changed the ssh private key file to point to a regular file (the file that the symbolic link was pointing to). And voila, both push and pull are working now.

    Xcode Version 8.1 (8B62)

提交回复
热议问题