From 8b032c3cf638e64e50df9d9cf8bc789c7e285987 Mon Sep 17 00:00:00 2001 From: Jason Tsai Date: Tue, 28 May 2024 22:46:42 +0800 Subject: [PATCH] fix(ios): add LaunchScreen.storyboard to iOS project template, fix#9853 (#9896) * fix(ios): add LaunchScreen storyboard file * chore: add changelog --- .changes/cli-add-launchscreen-storyboard.md | 6 ++++ .../mobile/ios/LaunchScreen.storyboard | 30 +++++++++++++++++++ tooling/cli/templates/mobile/ios/project.yml | 1 + 3 files changed, 37 insertions(+) create mode 100644 .changes/cli-add-launchscreen-storyboard.md create mode 100644 tooling/cli/templates/mobile/ios/LaunchScreen.storyboard diff --git a/.changes/cli-add-launchscreen-storyboard.md b/.changes/cli-add-launchscreen-storyboard.md new file mode 100644 index 000000000..8819530a8 --- /dev/null +++ b/.changes/cli-add-launchscreen-storyboard.md @@ -0,0 +1,6 @@ +--- +'tauri-cli': 'patch:enhance' +'@tauri-apps/cli': 'patch:enhance' +--- + +Add a blank LaunchScreen.storyboard to the iOS project init template to pass the App Store validation. diff --git a/tooling/cli/templates/mobile/ios/LaunchScreen.storyboard b/tooling/cli/templates/mobile/ios/LaunchScreen.storyboard new file mode 100644 index 000000000..dd79351ec --- /dev/null +++ b/tooling/cli/templates/mobile/ios/LaunchScreen.storyboard @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tooling/cli/templates/mobile/ios/project.yml b/tooling/cli/templates/mobile/ios/project.yml index 0a64c3cb6..c826f15ba 100644 --- a/tooling/cli/templates/mobile/ios/project.yml +++ b/tooling/cli/templates/mobile/ios/project.yml @@ -42,6 +42,7 @@ targets: - {{prefix-path this}}{{/each}} {{~#each ios-additional-targets}} - path: {{prefix-path this}}{{/each}} + - path: LaunchScreen.storyboard info: path: {{app.name}}_iOS/Info.plist properties: