![](/img/trans.png)
[英]Unable to change private key access: Please attempt to unlock ~/Library/Keychains/login.keychain from Keychain Access
[英]access to keychain error when try to login to appcenter from Xcode Cloud
这是我将应用程序从 Xcode Cloud 上传到 appcenter 的脚本的一部分:
1. $brew install npm
2. $npm install -g appcenter-cli
3. $appcenter login --token [my-token]
4. $appcenter distribute release -f $CI_AD_HOC_SIGNED_APP_PATH/MyApp.ipa -g Collaborator --app UserName/App --release-notes-file releaseNote.txt
但我在 3 点收到了这个错误:
Error: Could not add password to keychain: security: SecKeychainItemCreateFromContent (<default>): User interaction is not allowed.
如何将密码添加到 Xcode 云钥匙串?
无需保存密码登录Xcode的app center Cloud appcenter distribute release
有添加token的选项
我删除appcenter login --token [my-token]
并添加到appcenter distribute release -f $CI_AD_HOC_SIGNED_APP_PATH/MyApp.ipa -g Collaborator --app UserName/App --release-notes-file releaseNote.txt --token [my-token]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.