Jenkins上传AppStore报错 provider public id

Cannot obtain the content provider public id. Please specify a provider short name using the -asc_provider option.

如果您用于登录 Transporter 的 Apple ID 隶属于不止一个 App Store Connect 提供商,请务必使用 -asc_provider 指定您当前会话想使用的提供商帐户。您可以使用 Provider 模式获取您有权限为其交付内容的提供商帐户列表。

脚本命令

ALTOOLPATH=/Applications/Xcode.app/Contents/Developer/usr/bin/altool
IPAPATH="build/app/app.ipa"
APPID="[email protected]"#appleId
APPPASSWORD="xxxx-xxxx-xxxx-xxxx"#api_pwd
/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter  -m upload  -assetFile  "${IPAPATH}" -u "${APPID}" -p "${APPPASSWORD}" -v eXtreme -asc_provider XXXXXXXX #短名(teamID) 

-asc_provider XXXXXXXX #短名(teamID)短名查询命令

xcrun altool --list-providers -u "[email protected]" -p "xxxx-xxxx-xxxx-xxxx"

你可能感兴趣的:(Jenkins上传AppStore报错 provider public id)