图标没有出现在 Xcode 存档中?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9722323/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Icon not appearing in Xcode archive?
提问by Adam Waite
My app icon isn't appearing in Xcode archives. I have them set in the plist and they are showing on the simulator, on the device and in the project settings. See the picture below:
我的应用程序图标没有出现在 Xcode 档案中。我在 plist 中设置了它们,它们显示在模拟器、设备和项目设置中。见下图:
How can i fix this? Im using the 4.3.1 by the way.
我怎样才能解决这个问题?顺便说一下,我使用的是 4.3.1。
Thanks...
谢谢...
回答by Van Du Tran
Try this:
尝试这个:
Delete all versions of your app from your device.
从您的设备中删除您应用的所有版本。
In Xcode, do "Command+Option+Shift+K" and say yes.
在 Xcode 中,执行“Command+Option+Shift+K”并说是。
Try to archive again?
再次尝试存档?
Btw, I don't think Default.png and [email protected] should be in your icon list.
顺便说一句,我不认为 Default.png 和 [email protected] 应该在您的图标列表中。
回答by Dominik Hadl
Don't forget on correct icon naming. And the Default.png shouldn't be in the .plist. Also check the target of the icon files.
不要忘记正确的图标命名。而 Default.png 不应该在 .plist 中。还要检查图标文件的目标。
Icon.png [email protected] Icon-72.png
Icon.png [email protected] Icon-72.png
In Xcode press
在 Xcode 按
Command+Shift+K and press Yes.
Command+Shift+Alt+K and press Yes.
The try building, running and Archiving.
Command+Shift+K 并按是。
Command+Shift+Alt+K 并按是。
尝试构建、运行和归档。
回答by Milktoast
You are missing your iTunesArtwork as Item 6 in Icon Files in your plist. Apparently, this is where the Archive window get its image from.
您在 plist 的图标文件中丢失了作为第 6 项的 iTunesArtwork。显然,这是存档窗口获取其图像的地方。
回答by A-Live
Don't forget to add small iconsand an App Store iconto the project.
不要忘记在项目中添加小图标和App Store 图标。