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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:48:18+00:00 2026-06-15T18:48:18+00:00

I have tried a lot of scripts in xCode such as: Insert Subversion revision

  • 0

I have tried a lot of scripts in xCode such as:

Insert Subversion revision number in Xcode

http://getsetgames.com/2009/10/21/automatically-insert-your-svn-revision-number-into-your-xcode-project/

http://www.red-sweater.com/blog/23/automatic-build-sub-versioning-in-xcode

http://www.noxeos.com/2011/09/13/xcode-build-number-svn/

http://bafford.com/2010/11/17/automatic-build-versioning-in-xcode-with-subversion/

but it wasn’t work.

I need to know how to add SVN revision number to iPhone App.

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-06-15T18:48:19+00:00Added an answer on June 15, 2026 at 6:48 pm

    You can try the following step, this may help you out:

    1. Manually set the CFBundleShortVersionString (aka “Bundle versions string, short”) value in your info.plist to your major.minor build number (e.g. 1.0)

    2. Add a ‘run script’ build phase to your project with the following script

    REV=`svnversion -nc | /usr/bin/sed -e 's/^[^:]*://;s/[A-Za-z]//'`
    BASEVERNUM=`/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" "${INFOPLIST_FILE}"`
    /usr/libexec/PlistBuddy -c "Set :CFBundleVersion $BASEVERNUM.$REV" "${INFOPLIST_FILE}"
    

    3.Clean and build (the Clean step forces Xcode to reprocess the info.plist).

    enter image description here

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

Sidebar

Related Questions

-- Update --i have read a lot on the subject tried a few scripts
I have tried a lot of solutions but it did not work for me
I have tried a lot but not been able to understand the steps involved
I have searched a lot and tried much but I can not find the
I have several Lua scripts that run experiences and output a lot of information,
I have tried a lot but I have not been able to find out
I have tried a lot but couldn't get the solution out of it. I
I tried a lot scripts and none of them worked. This is the code
I am using Joomla 1.5 and i have tried a lot but could not
Okay, I have read, and tried a lot of things on how to implement

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.