【发布时间】:2020-01-30 22:12:36
【问题描述】:
我正在尝试使用 fastlane 增加我的 React Native (0.60) 应用程序的构建和版本号。
increase_build_number 工作正常,但是 increase_version_number 产生此错误:
Can't increment version
我已按照错误中的推荐指南进行操作,但没有成功 - https://developer.apple.com/library/content/qa/qa1827/_index.html
increase_version_number 是否与 .xcworkspace 一起使用?
【问题讨论】:
-
它不接受工作区作为参数。 Here 是源代码。运行命令似乎依赖于当前工作目录。
-
从项目目录(
fastlane目录的父目录)运行agvtool what-marketing-version -terse1时会看到什么。无论该命令输出什么,都无法解析为版本字符串(major.minor.patch,即 11.0.0)。 -
@andyaladdin 你有没有得到这个工作?
-
@bataleon 我把它指向了 xcode 项目。
标签: xcode react-native fastlane