Skip to content

Commit acd7574

Browse files
owjs3901devfiveFabianLars
authored
fix(cli/ios): fix CFBundleVersion type (#13743)
Co-authored-by: devfive <devfive@devfiveui-MacStudio.local> Co-authored-by: Fabian-Lars <github@fabianlars.de>
1 parent e296e4b commit acd7574

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changes/fix-cf-bundle-version.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'tauri-cli': 'patch:bug'
3+
---
4+
5+
Fix type of CFBundleVersion generated by `tauri ios init` when `bundleVersion` is a single number (for example `1` instead of `1.0.0`).

crates/tauri-cli/templates/mobile/ios/project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ targets:
5959
- UIInterfaceOrientationLandscapeLeft
6060
- UIInterfaceOrientationLandscapeRight
6161
CFBundleShortVersionString: {{apple.bundle-version-short}}
62-
CFBundleVersion: {{apple.bundle-version}}
62+
CFBundleVersion: "{{apple.bundle-version}}"
6363
{{~#each apple.plist-pairs}}
6464
{{this.key}}: {{this.value}}{{/each}}
6565
entitlements:

0 commit comments

Comments
 (0)