Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot change version or build number in Xcode

I'm trying to change the version and build number in iOS project in Xcode (under Targets->General->Identity), but for some reason no matter what I type, my typing is removed and the value won't change. Is this not the correct place to modify this value?

Going to Targets->General->Info allows me to change the value, but doesn't remember the change after I navigate away from the screen.

like image 905
Stephen Collins Avatar asked Mar 22 '26 12:03

Stephen Collins


2 Answers

In your project navigator on the left you should have a file named AppName-Info.plist. You can change the Build Version along with a bunch of other project settings here.

like image 187
Jpoliachik Avatar answered Mar 25 '26 02:03

Jpoliachik


Change the fields in the info.plist file like this

<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
like image 33
Fatih NALCI Avatar answered Mar 25 '26 01:03

Fatih NALCI



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!