When trying to use CircleCI to publish APK to app center, it fails to login due to needing access to keychain.
Error: Could not add password to keychain: security: SecKeychainItemCreateFromContent (<default>): User interaction is not allowed.
Please list the steps used to reproduce your issue.
pod --version)?MSAppCenter.setLogLevel(.verbose) before your call to MSAppCenter.start(...) for Swift, or [MSAppCenter setLogLevel:MSLogLevelVerbose] before [MSAppCenter start: ...] for Objective C and include the logs here:Hi, @muhammaddadu!
Could you please open your issue inside AppCenter-CLI repo because it is in the SDK repository at the moment?
Thanks for understanding.
I'm running appcenter 2.3.3, attempting to do this using TeamCity with the BuildAgent running on a MacBookPro, and I still encounter this error.
If I manually SSH in to the MacBookPro and attempt to login with the token, I still get the error. If I open a local terminal on the MacBookPro and do it, it works fine, but then when I try to use the remote terminal or TeamCity I get:
Error: Command '<APPCENTER COMMAND>' failed with exception "Command failed: /usr/bin/security find-generic-password -a <USERNAME> -s mobile-center-cli -g
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
had exactly the same error and following cmd helped me get through:
security unlock-keychain /Users/xxxx/Library/Keychains/login.keychain-db
maybe it can help you too.
Most helpful comment
had exactly the same error and following cmd helped me get through:
maybe it can help you too.