passforios
passforios copied to clipboard
Cloning fails with error: Foundation._GenericObjCError error 0.
I was trying to clone from a private GitHub repository using an ssh key file sent to my iphone over airdrop and the following configuration:
git repo url: ssh://[email protected]/grll/pass
branch name: master
username: git
auth method: SSH Key
When ever I wanted to clone the repository it was throwing me this "Foundation._GenericObjCError error 0." I pinpointed the issue using the Xcode debugger to come from the following file and the following line:
// passKit/Models/PasswordStore - line 184
try checkoutAndChangeBranch(withName: branchName, progressBlock: checkoutProgressBlock)
Turns out I forgot that I used the new default branch name of "main" instead of "master"...
so if you encounter this error in the futur check again all your repository settings. Also I am not an iOS developer so I don't know if the issue is coming from passforios or the passKit library used in this specific case but you might want to improve the error message thrown on that one :)
Thanks for the great app!
Thank you so much for this!
Thank you, help me a lot :)
this one got me as well
Appreciate it, ran into this same issue!