【发布时间】:2021-11-13 22:47:36
【问题描述】:
我有一个现有的应用程序并想使用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 文件生成和内部版本号递增
毕竟我得到了这个错误
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,但仍然遇到相同的错误!
【问题讨论】:
标签: ios xcode react-native fastlane