1

昨天我收到了一封来自 Apple 的电子邮件,称现在可以使用名为 Transporter 的命令行工具来提供 App Store 元数据本地化。

我从 iTunes Connect 下载了 iTunes_Store_Transporter_Quick_Start_Guide_v2.pdf 并按照示例简单查找了应用的元数据:

To initiate lookup mode, use the following command:
$ iTMSTransporter -m lookupMetadata -u [iTunes Connect user name]
                  -p [iTunes Connect password] -vendor_id [App SKU]
                  -destination [destination path for App Store Package]

但是,虽然我的登录凭据和输入的所有其他信息都是正确的,但我总是收到以下错误:

[2013-07-19 14:34:40 MESZ] <main> DBG-X:   parameter Errors = [Directory Services reported the following error: Your Apple ID or password was entered incorrectly. (-20101)]
[2013-07-19 14:34:40 MESZ] <main> ERROR: Apple's web service operation was not successful
[2013-07-19 14:34:40 MESZ] <main> ERROR: An error occurred while looking up the metadata.
[2013-07-19 14:34:40 MESZ] <main> ERROR: Directory Services reported the following error: Your Apple ID or password was entered incorrectly. (-20101)
[2013-07-19 14:34:40 MESZ] <main> DBG-X: The error code is: -20101

信息:我的密码包含特殊字符。因此,我尝试传递带引号和不带引号的密码。

4

5 回答 5

2

@Tafkadasoh 这是导致问题的美元符号。由于 $ 字符是为 unix 中不同类型的变量保留的,因此您必须对其进行转义。

代替

-p 'Pass$123'

利用

-p 'Pass\$123'
于 2014-09-24T21:49:20.350 回答
1

您使用的是什么操作系统,密码中包含哪些特殊字符?如果您使用的是 OS X,请尝试使用单引号,例如'password'not "password"

如果您要iTMSTransporter大量使用,我建议您
使用此程序

于 2013-07-20T02:41:17.120 回答
0

作为一种解决方法,我可以删除密码参数。然后 iTMSTransporter 将在命令行上要求输入密码。这不是一个真正的解决方案,因为您不能将其用于自动化脚本(iTMSTransporter 旨在用于)。但是,对于不经常使用的情况,这可能就足够了。

于 2013-07-19T12:52:27.817 回答
0

@Tafkadasoh - 该解决方法对我也很有效,我现在可以连接并获取元数据包。

干杯!

于 2013-08-03T00:59:03.580 回答
0

对我来说,我有FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD并且FASTLANE_PASSWORD在我的环境变量中。所以我删除FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD并且它起作用了。

如果你有FASTLANE_SESSIONFASTLANE_PASSWORD你可能需要删除FASTLANE_SESSION

于 2020-11-09T17:52:39.907 回答