From 51e4a3204223d1452beaf40b27b676595274aaf6 Mon Sep 17 00:00:00 2001 From: Matthew Richardson Date: Thu, 20 Mar 2025 10:49:12 +0000 Subject: [PATCH] docs: Add section for bundleVersion property --- src/content/docs/distribute/app-store.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/content/docs/distribute/app-store.mdx b/src/content/docs/distribute/app-store.mdx index de662fab78..3dc29dd2fc 100644 --- a/src/content/docs/distribute/app-store.mdx +++ b/src/content/docs/distribute/app-store.mdx @@ -46,6 +46,20 @@ The value provided in the _Bundle ID_ field **must** match the identifier define The Tauri CLI can package your app for macOS and iOS. Running on a macOS machine is a requirement. +Tauri derives the [`CFBundleVersion`](https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleversion) from the value defined in [`tauri.conf.json > version`]. +You can set a custom bundle version in the [`tauri.conf.json > bundle > ios > bundleVersion`] or [`tauri.conf.json > bundle > macOS > bundleVersion`] configuration +if you need a different bundle version scheme e.g. sequential codes: + +```json title="tauri.conf.json" ins={4} +{ + "bundle": { + "ios": { + "bundleVersion": "100" + } + } +} +``` + :::caution Code signing is required. See the documentation for [macOS][macOS code signing] and [iOS][iOS code signing]. :::