microsoft/appcenter

Appcenter login is not working through Github actions

diogorlo opened this issue · 2 comments

Codepush fails when trying to log in through the command appcenter login --token ***

Error: Command failed: /usr/bin/security find-generic*** email-email.com -s mobile-center-cli -g
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.

    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:323:12) {
  code: 44,
  killed: false,
  signal: null,
  cmd: '/usr/bin/security find-generic*** email-email.com -s mobile-center-cli -g'
}
  • I've tried to update appcenter cli to version 3.0.0, but the error persists.
  • I'm able to log in and out locally
  • The error is happening in Github actions and macos

Command in Fastlane:

sh("appcenter", "login", "--token", <token>)

Any suggestions are welcomed. I've been sitting in this error for two days

@diogorlo, thanks for reaching out! Please check this thread #1210 and let me know if any of the suggested solutions work for you.

Closing due to inactivity.