yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
6.88k stars 809 forks source link

Where should I set the App version? #1455

Closed rex-structorum closed 2 months ago

rex-structorum commented 4 months ago

The Project schema specification docs lists some Info.plist properties that are automatically generated: ProjectSpec.md#target

Am I missing where CFBundleVersion and CFBundleShortVersionString are derived from in the spec, or are these always 1 and 1.0 unless overridden here?

yonaskolb commented 2 months ago

There are various Xcode settings that interlink but I think what you're looking for is the build setting MARKETING_VERSION which you can set in the target or just across the entire project

yonaskolb commented 2 months ago

Let me know if that helps, closing this for now