Linked Questions
12 questions linked to/from Version vs build in Xcode
585 votes
34 answers
315k views
How do I get the App version and build number using Swift?
I have an IOS app with an Azure back-end, and would like to log certain events, like logins and which versions of the app users are running. How can I return the version and build number using Swift?
256 votes
16 answers
115k views
How can my iphone app detect its own version number?
I'm writing an iPhone app. It's already been published, but I would like to add a feature where its version number is displayed. I'd rather not have to do this manually with each version I release......
211 votes
10 answers
100k views
ERROR ITMS-9000: "Redundant Binary Upload. There already exists a binary upload with build version '1.0' for train '1.0'"
I am trying to upload my build on iTunes Connect via Xcode 5.1.1 but it is continuously showing that it is loading and app is not getting uploaded. So I have tried uploading with Application Loader ...
113 votes
17 answers
97k views
Getting version and build information with Swift
I am attempting to gain access to the main NSBundle to retrieve version and build information. Thing is, I want to try it in Swift, I know how to retrieve it in Objective-C with: text = [NSBundle....
96 votes
4 answers
44k views
Difference between Xcode version (CFBundleShortVersionString) and build (CFBundleVersion)
In Xcode 4, I see this for my target summary: The "Version" input corresponds to CFBundleShortVersionString in the info.plist file, and the "Build" input corresponds to CFBundleVersion. What's the ...
17 votes
2 answers
34k views
How can I use PlistBuddy to access an element of PreferencesSpecified by its property?
At the moment I'm using this code /usr/libexec/PlistBuddy -c "Set PreferenceSpecifiers:1:DefaultValue $productVersion" "Test/Settings.bundle/Root.plist" in script part of build phase to put product ...
8 votes
4 answers
4k views
Auto-Increment Build Number for Multiple Targets in Xcode
I have a "Free" and "Paid" version of my app, and I want to auto-increment both of the build numbers simultaneously, because sometimes I test with the "Free" version and sometimes I test with the "...
1 vote
1 answer
1k views
Version and Build Information Error Xcode 4
I'm using Xcode 4.3 and I have followed this user's steps to create the script: Version vs build in XCode For whatever reason it does not look like I can leave a comment there. As the answer area in ...
1 vote
4 answers
144 views
Can not send iOS project to the App Store
I can not release iOS application because of version error message. Application version is 1.2 now and it is already in App Store I want to update it to version 2.0 but this error message occur:
0 votes
1 answer
484 views
Xcode script to increment build based on version
I've managed to reproduce a build phase script from this SO question which increments the build number every time I build the app. Can anyone suggest how the script should look if I want the build ...
2 votes
0 answers
307 views
How to increase minor version by archive on <name>-AppStore scheme? And increase build version by build
I am new be sh script. I did research on how to auto increase build number and version number. I know how to create an script, and let XCode to invoke that script when I build the app. But I don't see ...
1 vote
1 answer
179 views
Xcode .ipa update loop: Update Available, An updated application
Morning Lads/ladies, Shortest background I can write: In-house application for managing inventory, developer made redundant, no iOS Developers in the company, in comes me. I have no iOS developing ...