increment_version_number 不在工作区中工作

and*_*din 2 xcode react-native fastlane

我正在尝试使用 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

HAK*_*HAK 6

我首先按照苹果的说明解决了这个问题:

https://developer.apple.com/library/archive/qa/qa1827/_index.html

然后在最后一步中,我Bundle version string (short) (CFBundleShortVersionString)从 $(MARKETING_VERSION) 更改为 0.1.0

希望这可以帮助。