Change Version number and build in Xcode 5

核能气质少年 提交于 2019-12-04 16:41: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?


回答1:


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

Note it's in the General tab.




回答2:


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.




回答3:


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




回答4:


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



回答5:


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.



来源:https://stackoverflow.com/questions/18892151/change-version-number-and-build-in-xcode-5

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!