迦太基错误“凭证错误”

jps*_*ack 1 carthage xcode7

说明: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)
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

Abd*_*rim 6

我得到了解决方案,以应对提出的迦太基问题:

1-编辑〜/ .gitconfig并添加以下内容:

[credential]<br>
  helper = osxkeychain<br>
[credential "https://github.com"]<br>
  username = willhains
Run Code Online (Sandbox Code Playgroud)

(用您的GitHub用户ID替换willhains。)
2-通过HTTPS克隆一个私有仓库。
3-OSX将提示您输入GitHub密码。
4运行迦太基更新。

或者,
您可以删除Keychain访问和使用的github凭据表格。

希望这会有所帮助

  • 我从钥匙串访问中删除了 github 凭据 (6认同)
  • 从使用 OSX KeyChain Access 应用程序中删除 github 凭据对我有用:-) (4认同)