Change Version number and build in Xcode 5

前端 未结 5 1482
暖寄归人
暖寄归人 2021-02-07 08:47

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?

相关标签:
5条回答
  • 2021-02-07 09:11

    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
    0 讨论(0)
  • 2021-02-07 09:15

    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.

    0 讨论(0)
  • 2021-02-07 09:20

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

    Note it's in the General tab.

    enter image description here

    0 讨论(0)
  • 2021-02-07 09:21

    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.

    0 讨论(0)
  • 2021-02-07 09:23

    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

    0 讨论(0)
提交回复
热议问题