我正在尝试使用fastlane将新版本上传到itunesconnect。我的车道代码如下:
lane :deploy do |options|
increment_build_number
sigh
gym(
scheme: options[:scheme],
include_bitcode: false
)
pilot
version = get_version_number(xcodeproj: "App.xcodeproj")
build = get_build_number(xcodeproj: "App.xcodeproj")
end
直到最近它还运作良好。但是,最近我在应用程序开始上传到itunesconnect时收到错误:
01:34:45]: [Transporter Error Output]: ERROR ITMS-90478: "Invalid Version. The build with the version “1.2.8” can’t be imported because a later version has been closed for new build submissions. Choose a different version number."
[01:34:45]: [Transporter Error Output]: ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '334' for version '1.1.11'"
[01:34:45]: ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '334' for version '1.1.11'"
[01:34:45]: You have to change the build number of your app to upload your ipa file
[01:34:45]: [Transporter Error Output]: ERROR ITMS-90186: "Invalid Pre-Release Train. The train version '1.1.11' is closed for new build submissions"
[01:34:45]: [Transporter Error Output]: ERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [1.1.11] in the Info.plist file must contain a higher version than that of the previously approved version [1.2.8]."
[01:34:45]: Transporter transfer failed.
[01:34:45]:
[01:34:45]: ERROR ITMS-90478: "Invalid Version. The build with the version “1.2.8” can’t be imported because a later version has been closed for new build submissions. Choose a different version number."
ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '334' for version '1.1.11'"
ERROR ITMS-90186: "Invalid Pre-Release Train. The train version '1.1.11' is closed for new build submissions"
ERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [1.1.11] in the Info.plist file must contain a higher version than that of the previously approved version [1.2.8]."
[01:34:45]: ERROR ITMS-90478: "Invalid Version. The build with the version “1.2.8” can’t be imported because a later version has been closed for new build submissions. Choose a different version number."
ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '334' for version '1.1.11'"
ERROR ITMS-90186: "Invalid Pre-Release Train. The train version '1.1.11' is closed for new build submissions"
ERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [1.1.11] in the Info.plist file must contain a higher version than that of the previously approved version [1.2.8]."
Return status of iTunes Transporter was 1: ERROR ITMS-90478: "Invalid Version. The build with the version “1.2.8” can’t be imported because a later vers\nERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [1.1.11] in the Info.plist file must contain a higher version than that of the previously approved version [1.2.8]."
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
我尝试重新安装fastlane但它没有解决问题。此外,使用xCode管理器上传ipa也可以。我如何解决Fastlane中的问题?