簡體   English   中英

嘗試從 Xcode Cloud 登錄 appcenter 時訪問鑰匙串錯誤

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM