简体   繁体   English

iPhone分发应用程序捆绑包中的图标为空白

[英]Icons in distribution application bundle for iPhone are blank

I've set all the icons to use in MonoDevelop (including the correct resolutions). 我已经设置了要在MonoDevelop中使用的所有图标(包括正确的分辨率)。 The icon for my app shows up in the simulator correctly as it does show up correctly on my iPhone device. 我的应用程序的图标正确显示在模拟器中,就像它在iPhone设备上正确显示一样。

However after I build the app for distribution I've noticed when I browse the .app package has blank png files titled 'icon', so there's a blacnk Icon-small.png, Icon-Small@2x.png, Icon@2x.png and Icon.png. 但是,在构建用于分发的应用程序后,当我浏览.app程序包时发现了空白的png文件,它们的标题为“ icon”,所以有空白的Icon-small.png,Icon-Small @ 2x.png,Icon @ 2x。 png和Icon.png。

I'm guessing these icons sould actually be the icon images? 我猜这些图标实际上是图标图像吗?

Since it works on the device, I believe the contents of the app package are encrypted so that if you view it on your mac you won't see anything. 由于它可以在设备上运行,因此我相信应用程序包的内容已加密,因此,如果在Mac上查看,则不会看到任何内容。 The encryption would have to be stripped for you to see the contents. 必须删除加密才能看到内容。

Edit: I don't know if this actually true though - I looked at an ad-hoc build I have here and I see the same blank icons, however I do see dimension information (60x60) when I get-info in Finder. 编辑:我不知道这是否真的正确-我看着这里有一个临时构建,我看到了相同的空白图标,但是当我在Finder中获取信息时,我确实看到了尺寸信息(60x60)。 Presumably if it couldn't read the file at all, it wouldn't be able to see the dimension information? 据推测,如果它根本无法读取文件,就无法看到尺寸信息? Also I can read the plists in the app just fine. 我也可以阅读应用程序中的plists。

The answer is in another SO post: "Show Package Contents" of iPhone build release reveals blank PNGs? 答案在另一篇SO帖子中: iPhone构建版本的“显示包内容”显示空白的PNG?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM