Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Bad Credentials" error thrown for no apparent reason #2671

Open
potecuta opened this issue Jan 4, 2019 · 8 comments · May be fixed by #3364
Open

"Bad Credentials" error thrown for no apparent reason #2671

potecuta opened this issue Jan 4, 2019 · 8 comments · May be fixed by #3364
Labels

Comments

@potecuta
Copy link

potecuta commented Jan 4, 2019

  • carthage install method: [ ] .pkg, [x] homebrew, [ ] source
  • which carthage: /usr/local/bin/carthage
  • carthage version: 0.31.2
  • xcodebuild -version: Xcode 10.1, Build version 10B61
  • Are you using --no-build?
    No
  • Are you using --no-use-binaries?
    No
  • Are you using --use-submodules?
    No
  • Are you using --cache-builds?
    No
  • Are you using --new-resolver?
    No

Cartfile

github "TheLevelUp/ZXingObjC" ~> 3.2.1
github "rs/SDWebImage" ~> 4.0
github "jathu/UIImageColors" ~> 1.4
github "hackiftekhar/IQKeyboardManager" ~> 6.0.3
github "intercom/intercom-ios"
github "corin8823/Popover"
#binary "https://raw.githubusercontent.com/Building42/Specs/master/Carthage/Fabric.json"
#binary "https://raw.githubusercontent.com/Building42/Specs/master/Carthage/Crashlytics.json"

Carthage Output

carthage update --platform iOS

*** Fetching IQKeyboardManager
*** Fetching Popover
*** Fetching intercom-ios
*** Fetching SDWebImage
*** Fetching ZXingObjC
*** Fetching UIImageColors
*** Checking out UIImageColors at "1.4.0"
*** Checking out ZXingObjC at "3.6.4"
*** Checking out intercom-ios at "5.2"
*** Checking out SDWebImage at "4.4.3"
*** Checking out Popover at "v1.2.2"
*** Checking out IQKeyboardManager at "v6.2.0"
*** xcodebuild output can be found in /var/folders/qz/66zq60792pb1gn815zk16_m80000gn/T/carthage-xcodebuild.BNAyQR.log
*** Skipped downloading intercom-ios.framework binary due to the error:
	"Bad credentials"
*** Skipped downloading IQKeyboardManager.framework binary due to the error:
	"Bad credentials"
*** Skipped downloading SDWebImage.framework binary due to the error:
	"Bad credentials"
*** Skipped downloading Popover.framework binary due to the error:
	"Bad credentials"
*** Skipped downloading ZXingObjC.framework binary due to the error:
	"Bad credentials"
*** Skipped downloading UIImageColors.framework binary due to the error:
	"Bad credentials"
*** Skipped building intercom-ios due to the error:
Dependency "intercom-ios" has no shared framework schemes for any of the platforms: iOS

Actual outcome
I first received these error while using Bitrise CI. At first I assumed it's because the Github Access Token expired but after replacing it with two other Access Tokens, and neither worked, I tried running carthage locally (where no access token is needed) and the same error was thrown.

Expected outcome
To actually download the dependencies I ask carthage to install??? 😄

I found this thread #1188 , but I don't have a private repo to checkout and even if this fix works locally, I don't know how to make it work on Bitrise.

@tmspzz tmspzz added the question label Jan 4, 2019
@tmspzz
Copy link
Member

tmspzz commented Jan 4, 2019

I'm not sure how to help you here.

If all dependencies are public can you try without access token at all?

@potecuta
Copy link
Author

potecuta commented Jan 4, 2019

Locally it used to work without access token (and now it doesn't) and on Bitrise I need the access token because otherwise I'm exceeding the GitHub API Rate Limiting. The guys on bitrise managed to come up with a fix on their side. Maybe it will help me fix it locally as well and if I have a meaning solution I will post it here

@stale
Copy link

stale bot commented Feb 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 3, 2019
@stale stale bot closed this as completed Feb 10, 2019
@nazmulcuet11
Copy link

nazmulcuet11 commented Dec 15, 2019

I am having the same issue.

image

Edit:
Resolved after deleting github credentials from the keychain.

@burhanuddin353
Copy link

I am having the same issue.

image

Edit:
Resolved after deleting github credentials from the keychain.

Having the same issue

@HyunjoonKo
Copy link

1111

I am not sure why I am getting this error. Anyone who knows the solution?

@wangjiejacques
Copy link

Hi, how can we reopen this issue, I found the root case and will create a pull request later.

@jdhealy jdhealy reopened this Jan 29, 2024
@jdhealy jdhealy removed the stale label Jan 29, 2024
@wangjiejacques wangjiejacques linked a pull request Jan 30, 2024 that will close this issue
@wangjiejacques
Copy link

Hi @jdhealy can you review the pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants