git submodule add [email protected]:konstantinpavlikhin/AutomaticBundleVersioning.git Submodules/AutomaticBundleVersioning
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
Open your Info.plist
file and remove "Bundle version" (CFBundleVersion
) and "Bundle versions string, short" (CFBundleShortVersionString
) key-values.
You're done.