How to commit updated AppInfo.plist after being updated by "Set Xcode Project Build Number" step

One more note: to be able to push back into the repository:

  1. You have to make sure that the SSH key (the one you can see on the Settings tab of the app on bitrise.io) have write access to the repository. If you used the default bitrise.io automatic SSH key registration, the key is registered as read-only, and you’ll have to delete it and add it again as a read-write key.
  2. Make sure that you’re on a branch in your build. If a build is triggered by a code push / commit, you won’t be on a branch, that specific commit will be checked out. This is to prevent the build to clone another commit, e.g. if you’d push another commit to the same branch before the build could clone the commit it was started with. You can find more information about this at: Intermittent build failures to execute push_to_git_remote & how to manage build number
1 Like