Skip to content

Instantly share code, notes, and snippets.

@Pasi-D
Created May 23, 2021 15:54
Show Gist options
  • Save Pasi-D/0215a6ce012725b474f715f93446669a to your computer and use it in GitHub Desktop.
Save Pasi-D/0215a6ce012725b474f715f93446669a to your computer and use it in GitHub Desktop.
Info.plist file with configurable versioning (react native)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
...
<key>CFBundleShortVersionString</key>
<string>$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(MAJOR_VERSION).$(MINOR_VERSION).$(PATCH_VERSION)</string>
...
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment