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 6060623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:50:48+00:00 2026-05-23T08:50:48+00:00

I am a SCM newbie, but I just need some basic things for version

  • 0

I am a SCM newbie, but I just need some basic things for version control.

I am using Git in XCode 4.

the questions are :

How can I automatically give my project a versioning number (such as 1.1.2) when I commit it to the local Git repositories?

Is Git’s versioning number meant to be associated with my app releasing number? I mean for example, if my working copy’s version is 1.2.3 in Git, then will the version in my info.plist be changed to 1.2.3 as well?

Thanks

  • 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-05-23T08:50:49+00:00Added an answer on May 23, 2026 at 8:50 am

    Git’s versioning is NOT meant to be related to your app release number. There’s not really any such thing as “version 1.2.3 in Git”. Git commits are referred to by either a SHA hash, a branch name, or a tag name.

    Most people who handle in version numbers use git tags to identify the final released version of their product with one of those. So, you commit your very last fixes to your testing branch, it tests clean, you merge it into your production branch, and tag that commit with the next version number.

    There ARE ways of making that tag action update the version number on your project in Xcode, but nothing out of the box, and there’s no gui interface for it that I know of. You’d have to write a custom hook in your git repository.

    Also, if you’re using Xcode4’s interface to git, you’re really not using git how it’s meant to be used. Git is an amazing tool that Xcode gives you a tiny (and wrong-headed) interface on. It’s worth learning it. I’m so disappointed with the Xcode interface to git, I don’t even use it anymore. I do my work in Xcode and manage my repository on the command line.

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

Sidebar

Related Questions

I'am using git as scm of choice but have to use a svn-repo. I
In this announce Apple says that Xcode 4 support Git. But in my SCM
I am using Git for my SCM of a WP Plugin. But of course
I know Xcode can be hooked up to an SCM. But how would I
For personal projects I use Git for SCM, but at work we use TFS.
In my ios project I use git as scm. Xcode listing of repositories includes
I have been using SCM for myself, but now I am working in team-of-two
We are looking at adopting Git for our SCM but having trouble figuring out
I'm trying to setup Xcode SCM using Subversion (SVN) on a network disk (mounted).
Assuming that project A is using git as its SCM. I clone their repo

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.