问题描述
限时送ChatGPT账号..我正在尝试将 @keychain
选项与 altool 中的 -p
开关一起使用,以便从钥匙串加载我的 iTunes Connect 密码:
I'm trying to use the @keychain
option with the -p
switch in altool in order to load my iTunes Connect password from the keychain:
altool --validate-app -f "${IPA}" -u "redacted" -p "@keychain:?????"
我想弄清楚在 @keychain:
之后我需要输入什么.我尝试的所有操作(钥匙串文件的路径、钥匙串条目的名称、钥匙串条目中的用户名)都会产生以下错误:
I'm trying to figure out what I need to enter after @keychain:
. Everything I try (path of the keychain file, name of the keychain entry, username in the keychain entry) produces the following error:
*** 错误:在钥匙串中找不到指定的项目.
*** Error: The specified item could not be found in the keychain.
altool
提供有关 -p
参数的以下信息:
altool
supplies the following info about the -p
param:
-p, --password Password. Required if username specified. Password is read from stdin if one is not supplied.
May use @keychain: or @env: prefixes followed by the keychain or environment variable lookup name.
e.g. -p @env:SECRET which would use the value in the SECRET environment variable.
推荐答案
正确的用法是输入钥匙串物品的名称(不是钥匙串本身的名称,也不是钥匙串物品的Account"字段).
The correct usage is to enter the name of the keychain item (not the name of the keychain itself, and not the "Account" field for the keychain item).
我的问题实际上与访问控制有关.我必须在 Keychain Access 中编辑钥匙串项目并调整访问控制设置以允许 altool
查看钥匙串项目.
My problem was actually related to access control. I had to edit the keychain item in Keychain Access and tweak the Access Control settings to allow altool
to see the keychain item.
这篇关于钥匙串选项应该如何用于 altool?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论