Change Version number and build in Xcode 5

2019-03-24 14:51发布

I have upgraded my Xcode to Xcode 5. From where can I change the version and build number which are now not visible in Target Summary?

enter image description here

5条回答
The star\"
2楼-- · 2019-03-24 14:51

Go to your target, there you can modify them:

  • in General: under Identity: under your Bundel identifier: version and build
  • in Info: under Custom iOS Target Properties: Bundel version
查看更多
对你真心纯属浪费
3楼-- · 2019-03-24 15:06

You might want to check out a new tool I've been developing called Xcodebump. It can handle updating both CFBundleShortVersionString and CFBundleVersion. As a final step it will also checkin to git and tag the commit to match up with those CFBundle values.

The Xcodebump project is located here:

https://github.com/markeissler/Xcodebump

I developed Xcodebump because agvtool has become a bit crusty and this topic comes up on Stackoverflow quite often.

查看更多
唯我独甜
4楼-- · 2019-03-24 15:07

In the screenshot you posted your target is a library, which do not have the build/version number.

Select your target and then go to the General tab. Then Identity you can change the Version ad the build

Or open the Info tab and then Custom iOS Target Properties, here your can change the build and version number.

查看更多
太酷不给撩
5楼-- · 2019-03-24 15:13

Select your project on the left. Then under target, select the target.

Note it's in the General tab.

enter image description here

查看更多
再贱就再见
6楼-- · 2019-03-24 15:17

In left pane select project name - > select target -> General choose version and Build. make sure target is selected , if project setting is selected you won't able to see desired options

General

查看更多
登录 后发表回答