diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-09-08 11:51:58 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2023-09-22 20:40:35 +0200 |
commit | 528e70b6d9333348044ecffb7bab8edfe9006538 (patch) | |
tree | e8e2a2dd8b5809c3b0bf4d045322a2aa69b4ceb7 /tests/manual/ios_assets | |
parent | a0bd124a5698e65324dbf05ae291f2b4f70d66e5 (diff) |
CMake: Add CFBundleIconName key to ios assets manual tests
It is required for publishing an app to the app store. Otherwise during
app store validation phase, you get an error:
Asset validation failed
Missing Info.plist value. A value for the Info.plist key
'CFBundleIconName' is missing in the bundle 'foo'. Apps built with
iOS 11 or later SDK must supply app icons in an asset catalog and must
also provide a value for this Info.plist key.
For more information see
http://help.apple.com/xcode/mac/current/#/dev10510b1f7.
Note this is not needed when using Xcode 14.3+ and when one places the
icons into an asset catalog. When processing icons in the asset
catalog, Xcode generates a partial Info.plist file that will contain
the CFBundleIconName key and will merge into the final Info.plist
file.
Amends cf3535fdf2e7fe52b36aaa4b94a53525fd6640f4
Pick-to: 6.5 6.6
Task-number: QTBUG-104519
Task-number: QTBUG-110921
Task-number: QTBUG-116784
Change-Id: I53009097cf27b096c72ee9c4bad6aa4286272061
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
Diffstat (limited to 'tests/manual/ios_assets')
-rw-r--r-- | tests/manual/ios_assets/Info.ios.cmake.plist | 2 | ||||
-rw-r--r-- | tests/manual/ios_assets/Info.ios.qmake.plist | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/manual/ios_assets/Info.ios.cmake.plist b/tests/manual/ios_assets/Info.ios.cmake.plist index 2b2bb69522..aa4c68dec4 100644 --- a/tests/manual/ios_assets/Info.ios.cmake.plist +++ b/tests/manual/ios_assets/Info.ios.cmake.plist @@ -64,6 +64,8 @@ <string>AppIcon57x57@2x.png</string> <string>AppIcon60x60@2x.png</string> </array> + <key>CFBundleIconName</key> + <string>AppIcon</string> </dict> </dict> <key>CFBundleIcons~ipad</key> diff --git a/tests/manual/ios_assets/Info.ios.qmake.plist b/tests/manual/ios_assets/Info.ios.qmake.plist index e97150e47b..cacfa49db3 100644 --- a/tests/manual/ios_assets/Info.ios.qmake.plist +++ b/tests/manual/ios_assets/Info.ios.qmake.plist @@ -47,6 +47,8 @@ <string>AppIcon57x57@2x.png</string> <string>AppIcon60x60@2x.png</string> </array> + <key>CFBundleIconName</key> + <string>AppIcon</string> </dict> </dict> <key>CFBundleIcons~ipad</key> |