Skip to content

A SemVer-compatible automatic bundle versioning for Xcode projects.

License

Notifications You must be signed in to change notification settings

konstantinpavlikhin/AutomaticBundleVersioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AutomaticBundleVersioning

Installation

1. Add AutomaticBundleVersioning as a Git submodule

git submodule add [email protected]:konstantinpavlikhin/AutomaticBundleVersioning.git Submodules/AutomaticBundleVersioning

2. Add a new run script build phase

Select an application target in your Xcode project and navigate to 'Build Phases' tab. Press a '+' button and choose a "New Run Script Phase". Rename the newly added phase to Run AutomaticBundleVersioning Script.

3. Expand the Run AutomaticBundleVersioning Script section and replace its contents with the following:

./Submodules/AutomaticBundleVersioning/AutomaticBundleVersioning.sh

4. Remove manual version definitions from the Info.plist file

Open your Info.plist file and remove "Bundle version" (CFBundleVersion) and "Bundle versions string, short" (CFBundleShortVersionString) key-values.

You're done.

About

A SemVer-compatible automatic bundle versioning for Xcode projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages