this is some part of my script for uploading the app to appcenter from Xcode Cloud:
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
but I got this error at 3:
Error: Could not add password to keychain: security: SecKeychainItemCreateFromContent (<default>): User interaction is not allowed.
how can I add the password to the Xcode Cloud keychain?
Don't need to save password and login to the app center in Xcode Cloud appcenter distribute release
has an option for adding token
I removed appcenter login --token [my-token]
and taken added to 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]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.