Fastlane: How can I "increment_build_number" only one target?
I have two targets in my Xcode project:
- MyAwesomeApp (build 1)
- MyGreatApp (build 1)
After the increment_build_number action, they both access:
- MyAwesomeApp Build 2
- MyGreatApp (build 2)
But I only expect to apply it to one goal. So when I execute something like this one more time:
increment_builder_number(scheme: "MyAwesomeAppScheme")
They refer to:
- MyAwesomeApp Build 3
- MyGreatApp (build 2) <- This build number should not change
Is there a way to achieve this? Thank!
source to share
I could easily add this option to the action fastlane
, but it needed an agvtool
equivalent agvtool
. A step increment_build_number
is basically a wrapper for agvtool
.
You can find more information on Apple Docs: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/agvtool.1.html.
source to share