Visual Studio 2019(Windows)/ Xamarin 4.7.0.968
我创建了一个 iOS 存档(没有错误),但是当我选择“分发”/“AppStore”并选择我已在 Visual Studio 中设置的 ID/配置文件时,系统会按预期提示我输入 ID/密码。但随后它失败并出现错误:
AppStore bundle validation failed for archive MyApp.Mobile.iOS
"altool" exited with code 1.
有人知道可能出了什么问题吗?
在
Release
Show IPA file on Build Server
Finder
窗口,并预先选择 ipa
文件。将文件复制到您可以轻松访问的某个位置(例如您的桌面)Terminal
xcrun altool --upload-app --type ios --file "path/to/application.ipa" --username "YOUR_ITMC_USER" --password "YOUR_ITMC_PASSWORD"
~/Desktop/application.ipa
,其中
application.ipa
是您的应用程序的名称。当然,您必须提供您的凭据,而不是YOUR_ITMC_USER
和YOUR_ITMC_PASSWORD
。运行此命令后,请等待一两分钟。一段时间后,该工具会告诉您上传是否失败,如果失败 - 具体原因。
附注您还可以使用 GUI
Transporter您使用应用程序专用密码。
使用交通应用程序
当我使用不正确的“应用程序特定密码”时,我收到了这条(相当神秘的)错误消息。