Linked Questions

585 votes
34 answers
315k views

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?
Øyvind Vik's user avatar
  • 6,317
256 votes
16 answers
115k views

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......
user avatar
211 votes
10 answers
100k views

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 ...
Dhara's user avatar
  • 4,089
113 votes
17 answers
97k views

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....
Ken-UbiDex's user avatar
  • 1,213
96 votes
4 answers
44k views

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 ...
Philip Walton's user avatar
17 votes
2 answers
34k views

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 ...
giampaolo's user avatar
  • 6,932
8 votes
4 answers
4k views

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 "...
Jon Mattingly's user avatar
1 vote
1 answer
1k views

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 ...
Demasterpl's user avatar
  • 2,133
1 vote
4 answers
144 views

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:
NevzatR's user avatar
  • 165
0 votes
1 answer
484 views

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 ...
artooras's user avatar
  • 6,905
2 votes
0 answers
307 views

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 ...
Yi Jiang's user avatar
  • 4,038
1 vote
1 answer
179 views

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 ...
DJM's user avatar
  • 61