2016-09-19 67 views
0

說明: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) 

enter image description here

+0

可能重複的[迦太基更新錯誤:「GitHub API請求失敗:錯誤憑據」](http://stackoverflow.com/questions/35790585/carthage-update-error-github-api-request-failed-bad-證書) – Jano

回答

1

我得到響應迦太基問題解決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的憑據形式你鑰匙扣訪問和使用..

希望這將有助於

+0

我從鑰匙串訪問中刪除了github憑證 – jpsstack

+0

它適合您嗎? –

+0

是的,它的確如此,謝謝 – jpsstack

0

對於我的情況:

我改變了我的Github上的用戶名和忘記更改存儲在鑰匙串訪問中的本地憑證(僅用戶名)。

請將用戶名更改爲新的用戶名!