在我启用了Github中的2因素身份验证之后,每次在终端中执行pod install
或pod update
时,我必须为HTTPS输入两次用户名和密码。为什么会发生这种事?是否有一种方法可以像我当时使用SSH时那样绕过密码验证部分?
发布于 2015-02-11 17:29:36
这是因为询问每个subSpec,解决这个问题的最简单方法是使用git凭据:
http://git-scm.com/docs/gitcredentials
https://help.github.com/articles/caching-your-github-password-in-git/
https://stackoverflow.com/questions/24636808
复制相似问题