Closed nickfourtimes closed 1 year ago
So after some head-scratching & panicked testing, it seems like the build_number
parameter requires a string value. Changing the command to the following worked:
increment_build_number_in_plist({
build_number: build_num.to_s,
xcodeproj: proj
})
I don't think this is documented anywhere, and it feels a little counter-intuitive, but at least it's resolved.
Up until this past week or so, _increment_build_number_inplist has been working well. However, in the past few days I'm getting the following errors when attempting to increment:
I haven't changed my fastlane actions in the interim; these are the relevant lines of code (simplified slightly):
I've confirmed that
build_num
does get set to a valid integer. If I comment out thebuild_number
parameter, then the command seems to work, though obviously it doesn't apply the desired custom build number, which is required in our CI/CD system.I'm wondering if maybe this was just an update to Xcode & its
agvtool
that may have caused this error.