迦太基错误 “坏凭据”
问题描述:
说明:https://github.com/watson-developer-cloud/ios-sdk迦太基错误 “坏凭据”
错误:
*** Skipped downloading ios-sdk.framework binary due to the error:
"Bad credentials"
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
答
我得到响应迦太基问题解决willhains提出:
1 - 编辑〜/ .gitconfig并添加以下内容:
[credential]<br>
helper = osxkeychain<br>
[credential "https://github.com"]<br>
username = willhains
(用您的GitHub用户ID替换willhains。)
2-通过HTTPS克隆私人回购。
3-OSX将提示输入您的GitHub密码。
4-run迦太基更新。
OR
可以删除GitHub的凭据形式你钥匙扣访问和使用..
希望这将有助于
答
对于我的情况:
我改变了我的Github上的用户名和忘记更改存储在钥匙串访问中的本地凭证(仅用户名)。
请将用户名更改为新的用户名!
可能重复的[迦太基更新错误:“GitHub API请求失败:错误凭据”](http://*.com/questions/35790585/carthage-update-error-github-api-request-failed-bad-证书) – Jano