Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Carthage error "Bad credentials"

Instructions: https://github.com/watson-developer-cloud/ios-sdk

Errors:

*** 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

like image 785
jpsstack Avatar asked Dec 06 '22 16:12

jpsstack


1 Answers

I got the solution in response to a Carthage issue willhains raised:

  1. Edit ~/.gitconfig and add the following:

    [credential]
        helper = osxkeychain
    [credential "https://github.com"]
        username = willhains
    

    Replace willhains with your GitHub user ID.

  2. Clone a private repo via HTTPS.

  3. OSX will prompt for your GitHub password.
  4. Run Carthage update.

OR
You can delete the GitHub credential form you Keychain access and use..
Hope this will help

like image 181
Abdul Karim Avatar answered Dec 26 '22 08:12

Abdul Karim