Icon.png 文件未复制到分发包中
...但是我的 [email protected] 文件被复制到那里。我检查了两个图标文件上的目标,它们都很好。这两个文件都列在 Targets->[AppName]->Copy Bundle Resources 下。
知道会发生什么吗?
谢谢。
...yet my [email protected] file is getting copied into there. I checked the Targets on both of the icon files, and they're fine. And both files are listed under Targets->[AppName]->Copy Bundle Resources.
Any idea what might be going on?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好吧,我找到了问题所在。我的 Icon.png 文件显示出一点抖动,这表明它可能并不是真正的 PNG。我将其重新保存为 PNG,现在一切正常。
Okay, I figured out the problem. My Icon.png file showed a bit of dithering, betraying that perhaps it wasn't really a PNG. I re-saved it as a PNG, and now everything is working.
您是否检查过图像文件是否在您的项目子目录中?有时我将图像放在那里,却忘记单击“将项目复制到目标组的文件夹中”。
Did you check to see if the image file is in your project subdirectory? I sometimes put images in there and forget to click the "Copy items into destination group's folder".