Cannot push to gitlab from xcode 7

前端 未结 5 1600
攒了一身酷
攒了一身酷 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条回答
  •  清歌不尽
    2021-01-05 03:28

    Same issue with xcode 7.

    I managed to fix this issue by regenerating the RSA keys and updating them in Gitlab.

    Edit: unfortunately this worked only 1 time

    Edit2: After working one time "right out of the box" after changing the SSH keys, the second time I got the question for login credentials, the dialog where you can choose between username/password and SSH keys. Choosing SSH key then worked. After that the dialog didn't appear anymore.

    So, to summarise:

    1. XCode push to Gitlab not working (asking for login credentials, SSH key not working)
    2. Regenerated SSH RSA key and added it to Gitlab (I removed the old one)
    3. Then pushing worked without dialog
    4. Next time xcode asked to login by either username/password of SSH keys
    5. Selecting SSH keys worked
    6. After that the login dialog didn't appear anymore

提交回复
热议问题