Closed mhilland closed 4 years ago
I'm new to fastlane and Ruby, but the .to_s
method seems to work...
increment_build_number_in_plist(
build_number: (latest_testflight_build_number + 1).to_s,
)
Closing this due to inactivity. If you still have this issue or want further help, please open another ticket for me :)
I'm receiving the following error when trying to use
increment_build_number_in_plist
in combination with the fastlane functionlatest_testflight_build_number
. It's saying:[!] 'build_number' value must be a String! Found Integer instead.
I was under the impression that I'd be able to use the two in combination the same way as fastlane's native
increment_build_number
, as documented here: https://docs.fastlane.tools/actions/latest_testflight_build_number/#2-examplesWhat's strange is that in your docs you show the
build_number
value as using an integer, so why is it telling me its expecting a string?Has anyone had luck with this? Thanks!