CMake: Fix incorrect UILaunchStoryboardName value in Info.plist

The value needs to be 'CustomLaunchScreen', not
'CustomLaunchScreen.storyboard', otherwise app store validation will
fail with the following error:

 Asset validation failed
 Invalid bundle. Because your app supports Multitasking on iPad, you
 need to include the CustomLaunchScreen.storyboard launch storyboard
 file in you bundle. Use UILaunchScreen instead if the app’s
 MinimumOSVersion is 14 or higher and you prefer to configure the
 launch screen without storyboards.

This brings the value in line with what we have for the qmake
Info.plist file.

Amends cf3535fdf2e7fe52b36aaa4b94a53525fd6640f4

Pick-to: 6.5
Task-number: QTBUG-104519
Task-number: QTBUG-110921
Task-number: QTBUG-116784
Change-Id: I4e9cc2ed685634544955e967f35fdc426dac0f0c
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 370962315ad184a772e1813edc3c948403c7b057)
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Alexandru Croitor 2023-09-13 16:50:10 +02:00
parent 619601bcb0
commit 1790cbd608

View File

@ -41,7 +41,7 @@
<true/>
<key>UILaunchStoryboardName</key>
<string>CustomLaunchScreen.storyboard</string>
<string>CustomLaunchScreen</string>
<key>UISupportedInterfaceOrientations</key>
<array>