迦太基错误 "Bad credentials"
Carthage error "Bad credentials"
说明: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 提出的 Carthage 问题的解决方案:
编辑 ~/.gitconfig
并添加以下内容:
[credential]
helper = osxkeychain
[credential "https://github.com"]
username = willhains
将 willhains 替换为您的 GitHub 用户 ID。
通过 HTTPS 克隆私有存储库。
- OSX 将提示您输入 GitHub 密码。
- 运行迦太基更新。
或
您可以删除钥匙串访问和使用的 GitHub 凭据..
希望这会有所帮助
对于我来说:
我更改了我的Github用户名并且忘记更改存储在钥匙串访问中的本地凭据(仅用户名)。
请将用户名更改为您的新用户名,瞧!
说明: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 提出的 Carthage 问题的解决方案:
编辑
~/.gitconfig
并添加以下内容:[credential] helper = osxkeychain [credential "https://github.com"] username = willhains
将 willhains 替换为您的 GitHub 用户 ID。
通过 HTTPS 克隆私有存储库。
- OSX 将提示您输入 GitHub 密码。
- 运行迦太基更新。
或
您可以删除钥匙串访问和使用的 GitHub 凭据..
希望这会有所帮助
对于我来说:
我更改了我的Github用户名并且忘记更改存储在钥匙串访问中的本地凭据(仅用户名)。
请将用户名更改为您的新用户名,瞧!