# Macos set Xcode Project Build number

**URL:** https://discuss.bitrise.io/t/macos-set-xcode-project-build-number/22919
**Category:** iOS
**Tags:** ios, xcode
**Created:** [June 19, 2023, 3:48pm UTC](https://discuss.bitrise.io/t/macos-set-xcode-project-build-number/22919 "2023-06-19T15:48:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Spokn](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@Spokn](https://discuss.bitrise.io/u/Spokn)
#### Post date: [June 19, 2023, 3:48pm UTC](https://discuss.bitrise.io/t/macos-set-xcode-project-build-number/22919/1 "2023-06-19T15:48:20Z")

</div>

Hello,  
I’m currently using the ‘Set Xcode Project Build Number’ step in my Bitrise workflow to set the Xcode build number for my **macOs app**. However, I’m experiencing deployment failures because the bundle version needs to be higher than the previously uploaded version. As a result, I have to manually change the build number in Xcode and rebuild the app. I’m seeking a solution to automate this process, ensuring that the Xcode build number matches the Bitrise build number seamlessly.  
Build URL : [Build\_URL](https://app.bitrise.io/build/94d8ba70-6cd7-40c4-9b80-68864d464a77)
