Mar*_*lle 6 macos icons application-loader icns
使用Application Loader工具提交我的应用程序时,出现以下错误:
ERROR ITMS-90236: "Missing required icons. The application bundle does not contain an icon in ICNS format, containing both a 512x512 and a 512x512@2x image. For further assistance, see the Apple Human Interface Guidelines."
Run Code Online (Sandbox Code Playgroud)
我的图标(由Info.plist文件引用)包含两个文件,因为它是使用以下命令创建的:
iconutil -c icns icon.iconset
Run Code Online (Sandbox Code Playgroud)
凡icon.iconset文件夹包含以下项目:
-rw-r--r-- 1 martin staff 11K 18 mai 11:24 icon_128x128.png
-rw-r--r-- 1 martin staff 23K 18 mai 11:24 icon_128x128@2x.png
-rw-r--r-- 1 martin staff 3,3K 18 mai 11:24 icon_16x16.png
-rw-r--r-- 1 martin staff 4,2K 18 mai 11:24 icon_16x16@2x.png
-rw-r--r-- 1 martin staff 23K 18 mai 11:24 icon_256x256.png
-rw-r--r-- 1 martin staff 48K 18 mai 11:24 icon_256x256@2x.png
-rw-r--r-- 1 martin staff 4,2K 18 mai 11:24 icon_32x32.png
-rw-r--r-- 1 martin staff 6,6K 18 mai 11:24 icon_32x32@2x.png
-rw-r--r-- 1 martin staff 48K 18 mai 11:24 icon_512x512.png
-rw-r--r-- 1 martin staff 92K 18 mai 11:24 icon_512x512@2x.png
Run Code Online (Sandbox Code Playgroud)
我的图标有什么问题?
我的Info.plist文件:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>Joker</string>
<key>CFBundleGetInfoString</key>
<string>Created by Qt/QMake</string>
<key>CFBundleIconFile</key>
<string>Joker.icns</string>
<key>CFBundleIdentifier</key>
<string>com.phonations.joker</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>15.05.25</string>
<key>CFBundleSignature</key>
<string>???</string>
<key>CFBundleVersion</key>
<string>15.05.25</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.video</string>
<key>NOTE</key>
<string>This file was generated by Qt/QMake.</string>
<key>NSHighResolutionCapable</key>
<string>True</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
Run Code Online (Sandbox Code Playgroud)
即使您的主应用程序图标正确,您也可能会收到此错误。就我而言,有一些文档图标(也从 Info.plist 引用)没有所需的 512x512@2x 分辨率。
有趣的是,如果文档图标只是被删除/丢失,验证过程不会抱怨。
此错误消息是正确的:“应用程序包确实包含 ICNS 格式的图标,但不包含 512x512 和 512x512@2x 图像。”
| 归档时间: |
|
| 查看次数: |
1500 次 |
| 最近记录: |