Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8818111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:01:12+00:00 2026-06-14T05:01:12+00:00

I am starting up a new project that will have multiple developers working in

  • 0

I am starting up a new project that will have multiple developers working in Xcode using Git. I want to setup auto-incrementing build numbers, and I have found a few good answers on how to do this, but my concern is with the multiple developers and Git.

I know in Xcode there are some files, like the project file, that are very sensitive and hard to merge. The best techniques I have seen for auto-incrementing build numbers would be susceptible to the same multiple Git merge issue.

Is there any guidance here as to how I can use an auto-incrementing build technique and still keep the merging issues to a minimum? Maybe the answer is that there is no good answer, but I want to find out what others are doing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:01:14+00:00Added an answer on June 14, 2026 at 5:01 am

    While I don’t really see the point of having linearly incrementing build numbers trying to track a nonlinear development model like git, there’s ways to acheive it. It depends on what you’re after though. If you just want a build number for “official” builds, you can quite simply generate this by the build-scripts when building. Then have the build script tag the commit being built with the generated number. Something like this:

    git checkout build-branch
    generate_build_num > buildnum.txt
    make
    git tag `cat buildnum.txt`
    

    The responsibillity for generating a unique, incrementing build number is with the generate_build_numscript, and you can always find back to the corresponding commit by using the tag.

    If on the other hand you want every commit in the git tree to correspond to a linear build number, you’re in for a lot more work.

    In my opinion, there’s not much to gain in this compared to using the sha1 directly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am starting on a new Hadoop project that will have multiple hadoop jobs(and
I am starting a new Java web project that will be worked on by
I'm starting a new web application that will be made of multiple parts or
Any advice on Git repository organization for starting a new project on JRuby that
I'm starting a new project that will be heavy on javascript and am looking
I'm currently starting a new project that will display user distrubuted data links in
I'm starting a new project which in simple terms will have a UI layer
I will soon be starting on a new web project that consists of 2
I'm starting a new project that will be developed in WPF as a desktop
I'm starting a new project that involves users paying to see educational videos. These

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.