使用 altool 无法将 IPA 上传到苹果

Jus*_*808 5 xcode app-store-connect

所以我正在尝试将我的 ipa 上传到苹果。但这停止工作......

xcrun altool --upload-app -f ./dist/myapp.ipa -t ios --apiKey "KEY_HERE" --apiIssuer "ISSUER_HERE"
Run Code Online (Sandbox Code Playgroud)

我越来越:

Request ID: FTP34GRCKE5NK6HNMWTJXEN7.0.0
2019-10-22 10:39:33.371 altool[72993:10589325] *** Error: Errors uploading './dist/myapp.ipa': (
    "Error Domain=NSCocoaErrorDomain Code=-1011 \"Authentication failed\" UserInfo={NSLocalizedDescription=Authentication failed, NSLocalizedFailureReason=Failed to authenticate for session: (\n    \"Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 \\\"The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later.\\\" UserInfo={NSLocalizedRecoverySuggestion=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedDescription=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedFailureReason=App Store operation failed.}\"\n)}"
Run Code Online (Sandbox Code Playgroud)

但是当我登录 iTunes 连接时,密钥仍然有效。我不知道为什么这不再起作用。我以为它可能是钥匙,但我做了一个新的,但仍然出现同样的错误。

xcrun version 48.
Xcode version Version 11.1 (11A1027)
Run Code Online (Sandbox Code Playgroud)

Han*_*oka 2

该错误Authentication failed通常暗示您提供了错误的凭据。

您用什么来--apiIssuer "Issuer_Here"