itmtransporter无法生成itmsp:null

发布于 2025-01-24 12:42:56 字数 2313 浏览 2 评论 0原文

尝试将iOS应用上传到应用程序商店时,我会与itmtransporter看到此错误。当使用Xcrun AltoolFastlane Pilot构建时,会发生这种情况:

2022-04-22T01:20:31.9952870Z发生了例外:null 2022-04-22T01:20:32.0055430Z [0M 2022-04-22T01:20:32.1260390Z [01:20:32]:[33m [itmtransporter] at java.base/jdk.internal.reflect.nativemethodaccessorimpl.invoke0(本地 方法)2022-04-22T01:20:32.1360210Z [0M 2022-04-22T01:20:32.1463160Z [01:20:32]:[33m [itmtransporter] at java.base/jdk.internal.reflect.nativemethodaccessorimpl.invoke(未知 来源)2022-04-22T01:20:32.1563930Z [0M 2022-04-22T01:20:32.1596110Z [01:20:32]:[33m [itmtransporter] at java.base/jdk.internal.reflect.delegatingmethodaccessorimpl.invoke(未知 来源)2022-04-22T01:20:32.1660320Z [0M 2022-04-22T01:20:32.1725320Z [01:20:32]:[33m [itmtransporter] at java.base/java.lang.reflect.method.invoke(未知来源) 2022-04-22T01:20:32.1770950Z [0M 2022-04-22T01:20:32.1804250Z [01:20:32]:[33m [itmtransporter] at com.apple.transporter.launcher.application.start(application.java:450) 2022-04-22T01:20:32.1840080Z [0M 2022-04-22T01:20:32.1884420Z [01:20:32]:[33m [itmtransporter] at com.apple.transporter.launcher.application.main(application.java:947) 2022-04-22T01:20:32.1987130Z [0M 2022-04-22T01:20:32.2087410Z [01:20:32]:[33m [itmtransporter] 2022-04-22T01:20:32.2189840Z [0m 2022-04-22T01:20:32.2290160Z [01:20:32]:[33m [itmstransporter]
2022-04-22T01:20:32.2392840Z [0M 2022-04-22T01:20:32.2494790Z [01:20:32]:[33m [itmtransporter] 2022-04-22T01:20:32.2597270Z [0m 2022-04-22T01:20:32.2699930z [01:20:32]:[33m [itmstransporter]
2022-04-22T01:20:32.2802450Z [0M 2022-04-22T01:20:32.2903000Z [01:20:32]:[33m [itmtransporter]错误摘要 2022-04-22T01:20:32.3004120Z [0M 2022-04-22T01:20:32.3105710Z [01:20:32]:[33m [itmtransporter] 2022-04-22T01:20:32.3158440Z [0m 2022-04-22T01:20:32.3209430Z [01:20:32]:[33m [itmstransporter]
itmtransporter无法生成itmsp:null 2022-04-22T01:20:32.3259380Z [0M 2022-04-22T01:20:32.3361780Z [01:20:32]:[33m [itmtransporter]发生了一个例外:null 2022-04-22T01:20:32.3461800Z [0M 2022-04-22T01:20:32.3552070Z [01:20:32]:[33m [itmtransporter] [2022-04-22 01:20:31 UTC] DBG-X:返回1 2022-04-22T01:20:32.3611160Z [0M 2022-04-22T01:20:32.3668780Z [01:20:32]:iTunes Transporter输出 上方 ^ 2022-04-22T01:20:32.3705330Z [01:20:32]:[31Mitmstransporter 无法生成itmsp:null

When trying to upload my iOS app to the app store I see this error with iTMSTransporter. This occurs when using xcrun altool or fastlane pilot builds :

2022-04-22T01:20:31.9952870Z An exception has occurred: null
2022-04-22T01:20:32.0055430Z [0m 2022-04-22T01:20:32.1260390Z
[01:20:32]: [33m[iTMSTransporter] at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) 2022-04-22T01:20:32.1360210Z [0m 2022-04-22T01:20:32.1463160Z
[01:20:32]: [33m[iTMSTransporter] at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source) 2022-04-22T01:20:32.1563930Z [0m 2022-04-22T01:20:32.1596110Z
[01:20:32]: [33m[iTMSTransporter] at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source) 2022-04-22T01:20:32.1660320Z [0m 2022-04-22T01:20:32.1725320Z
[01:20:32]: [33m[iTMSTransporter] at
java.base/java.lang.reflect.Method.invoke(Unknown Source)
2022-04-22T01:20:32.1770950Z [0m 2022-04-22T01:20:32.1804250Z
[01:20:32]: [33m[iTMSTransporter] at
com.apple.transporter.launcher.Application.start(Application.java:450)
2022-04-22T01:20:32.1840080Z [0m 2022-04-22T01:20:32.1884420Z
[01:20:32]: [33m[iTMSTransporter] at
com.apple.transporter.launcher.Application.main(Application.java:947)
2022-04-22T01:20:32.1987130Z [0m 2022-04-22T01:20:32.2087410Z
[01:20:32]: [33m[iTMSTransporter] 2022-04-22T01:20:32.2189840Z [0m
2022-04-22T01:20:32.2290160Z [01:20:32]: [33m[iTMSTransporter]
2022-04-22T01:20:32.2392840Z [0m 2022-04-22T01:20:32.2494790Z
[01:20:32]: [33m[iTMSTransporter] 2022-04-22T01:20:32.2597270Z [0m
2022-04-22T01:20:32.2699930Z [01:20:32]: [33m[iTMSTransporter]
2022-04-22T01:20:32.2802450Z [0m 2022-04-22T01:20:32.2903000Z
[01:20:32]: [33m[iTMSTransporter] Error Summary
2022-04-22T01:20:32.3004120Z [0m 2022-04-22T01:20:32.3105710Z
[01:20:32]: [33m[iTMSTransporter] 2022-04-22T01:20:32.3158440Z [0m
2022-04-22T01:20:32.3209430Z [01:20:32]: [33m[iTMSTransporter]
iTMSTransporter could not generate an itmsp: null
2022-04-22T01:20:32.3259380Z [0m 2022-04-22T01:20:32.3361780Z
[01:20:32]: [33m[iTMSTransporter] An exception has occurred: null
2022-04-22T01:20:32.3461800Z [0m 2022-04-22T01:20:32.3552070Z
[01:20:32]: [33m[iTMSTransporter] [2022-04-22 01:20:31 UTC]
DBG-X: Returning 1 2022-04-22T01:20:32.3611160Z [0m
2022-04-22T01:20:32.3668780Z [01:20:32]: iTunes Transporter output
above ^ 2022-04-22T01:20:32.3705330Z [01:20:32]: [31miTMSTransporter
could not generate an itmsp: null

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

剩余の解释 2025-01-31 12:42:56

尽管上述错误非常模棱两可,但可能是Actuall .IPA未被验证的结果。这应该是在诊断证书之前尝试的第一件事。使用以下命令来验证您的应用:

xcrun altool --validate-app -f [ipaname].ipa --type ios -u appstore-username -p appspecific-password

或使用App Store Connect API关键

xcrun altool --validate-app -t ios --apiKey unique-api-key --apiIssuer api-key-issuer -f ipname.ipa

示例错误输出

2022-04-26 09:09:22.285 *** Error: The Info.plist in the package must contain the CFBundleVersion key. Unable to validate your application. (-27001)  {
    NSLocalizedDescription = "The Info.plist in the package must contain the CFBundleVersion key.";
    NSLocalizedFailureReason = "Unable to validate your application."; }

Although the above error is pretty ambiguous it could be a result of the actuall .ipa not being validate. This should be the first thing that is tried before diagnosing certificates etc. Use the following commands to validate your app:

xcrun altool --validate-app -f [ipaname].ipa --type ios -u appstore-username -p appspecific-password

or with app store connect api key

xcrun altool --validate-app -t ios --apiKey unique-api-key --apiIssuer api-key-issuer -f ipname.ipa

Example error output

2022-04-26 09:09:22.285 *** Error: The Info.plist in the package must contain the CFBundleVersion key. Unable to validate your application. (-27001)  {
    NSLocalizedDescription = "The Info.plist in the package must contain the CFBundleVersion key.";
    NSLocalizedFailureReason = "Unable to validate your application."; }
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文