Skip to content

Commit ed29f16

Browse files
docs: Add section for bundleVersion property (#3216)
1 parent d1427dd commit ed29f16

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/content/docs/distribute/app-store.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,20 @@ The value provided in the _Bundle ID_ field **must** match the identifier define
4747

4848
The Tauri CLI can package your app for macOS and iOS. Running on a macOS machine is a requirement.
4949

50+
Tauri derives the [`CFBundleVersion`](https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleversion) from the value defined in [`tauri.conf.json > version`].
51+
You can set a custom bundle version in the [`tauri.conf.json > bundle > ios > bundleVersion`] or [`tauri.conf.json > bundle > macOS > bundleVersion`] configuration
52+
if you need a different bundle version scheme e.g. sequential codes:
53+
54+
```json title="tauri.conf.json" ins={4}
55+
{
56+
"bundle": {
57+
"ios": {
58+
"bundleVersion": "100"
59+
}
60+
}
61+
}
62+
```
63+
5064
:::caution
5165
Code signing is required. See the documentation for [macOS][macOS code signing] and [iOS][iOS code signing].
5266
:::

0 commit comments

Comments
 (0)