使用 fastlane 将新版本上传到相同版本?
upload new build to same version using fastlane?
我有一个现有的应用程序并想使用 Fastlane
所以在添加一些配置后我想将新版本发送到 testflight,
所以我用这条车道
platform :ios do
private_lane :staging_build do
increment_build_number(xcodeproj: './ios/myapp.xcodeproj')
gym(scheme: 'myApp', workspace: './ios/myapp.xcworkspace')
end
desc 'Build & send to testflight'
lane :upload_to_testF do
staging_build
upload_to_testflight(username: '*****@gmail.com', app_identifier: 'com.comp.myapp')
commit_version_bump(message: 'bump build')
push_to_git_remote
end
end
所以在运行之后
fastlane ios send_to_testF
.ipa file generated and build number increment
我终于得到了这个错误
ERROR ITMS-90186: "Invalid Pre-Release Train. The train version '1.0.14' is closed for new build submissions"
ERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [1.0.14] in the Info.plist file must contain a higher version than that of the previously approved version [1.0.14]. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring"
我在应用商店里有这个版本
Xcode
也是一样
所以他们为什么要增加它!
即使我只是尝试在代码和应用程序商店中将其增加到 1.0.15,但仍然出现相同的错误!
Apple connect 不会接受具有相同版本号的新版本,但您可以让 fastlane 处理它以确保您不会错过任何东西。使用类似于:
...
increment_version_number(
version_number: "1.0.15" # Set a specific version number
)
我有一个现有的应用程序并想使用 Fastlane
所以在添加一些配置后我想将新版本发送到 testflight,
所以我用这条车道
platform :ios do
private_lane :staging_build do
increment_build_number(xcodeproj: './ios/myapp.xcodeproj')
gym(scheme: 'myApp', workspace: './ios/myapp.xcworkspace')
end
desc 'Build & send to testflight'
lane :upload_to_testF do
staging_build
upload_to_testflight(username: '*****@gmail.com', app_identifier: 'com.comp.myapp')
commit_version_bump(message: 'bump build')
push_to_git_remote
end
end
所以在运行之后
fastlane ios send_to_testF
.ipa file generated and build number increment
我终于得到了这个错误
ERROR ITMS-90186: "Invalid Pre-Release Train. The train version '1.0.14' is closed for new build submissions"
ERROR ITMS-90062: "This bundle is invalid. The value for key CFBundleShortVersionString [1.0.14] in the Info.plist file must contain a higher version than that of the previously approved version [1.0.14]. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring"
我在应用商店里有这个版本
Xcode
也是一样所以他们为什么要增加它! 即使我只是尝试在代码和应用程序商店中将其增加到 1.0.15,但仍然出现相同的错误!
Apple connect 不会接受具有相同版本号的新版本,但您可以让 fastlane 处理它以确保您不会错过任何东西。使用类似于:
...
increment_version_number(
version_number: "1.0.15" # Set a specific version number
)