如何让我的临时 iPhone 应用程序的图标显示在 iTunes 中?
我有一个带有图标文件 Icon.png 的 iPhone 应用程序。
当应用程序位于手机本身上时,此图标会正确显示,但不会显示在 iTunes 的应用程序窗格中。
我需要做什么才能让它正确显示?
I've got an iPhone app with icon file Icon.png.
This icon shows up properly when the app is on the phone itself, but it doesn't show up in the applications pane in iTunes.
What do I need to do to get it to show up properly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
Apple 官方文档中描述了最简洁的方法,名为 发布应用程序进行测试。 以下是该页面上为您提供的具体说明:
您的测试人员看到的 iTunes 插图应该是您的应用程序的图标。 该作品必须是名为 iTunesArtwork 的 512 x 512 JPEG 或 PNG 文件。 请注意,文件不得有扩展名。
生成应用程序图标的文件后,请按照以下步骤将其添加到您的应用程序中:
请注意,PNG 或 JPEG 文件只是“iTunesArtwork”,没有后缀。
如果您在构建文件后尝试将文件复制到应用程序包中,则会破坏应用程序签名,并且在尝试将其同步到设备时会收到验证错误。 确保图稿文件包含在 XCode 中项目目标的“复制捆绑资源”文件夹中(上面的步骤 4)。
The cleanest way to do this is described in the official Apple documentation, in a section called Publishing Applications for Testing. Below is the exact instructions given to you on that page:
The iTunes artwork your testers see should be your application’s icon. This artwork must be a 512 x 512 JPEG or PNG file named iTunesArtwork. Note that the file must not have an extension.
After generating the file of your application’s icon, follow these steps to add it to your application:
Note that the PNG or JPEG file is just 'iTunesArtwork', with no suffix.
If you try to copy the file into the application bundle after you have built it, it will break the app signing, and you will get a verification error when trying to sync it to your device. Ensure that the artwork file is included in the "Copy Bundle Resources" folder, within your project's target in XCode (step 4, above).
创建一个 512x512 png 图标,将其命名为“iTunesArtwork”(无扩展名,无引号)并将其添加到资源下的项目中。 然后构建。
更多详细信息请参见:
http:// developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/000-Introduction/introduction.html
Create a 512x512 png of your icon, name it "iTunesArtwork" (no extension, no quotes) and add it to your project under Resources. Then build.
More details here:
http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/000-Introduction/introduction.html
为了让那些到达这篇文章的人更容易,这里是实际的说明(直接来自已接受答案链接的博客文章)。
Twitter 上有一些关于如何为 iPhone 应用程序创建自己的 IPA 文件的讨论,所以我想我会给出我之前用来构建 IPA 的说明。 享受。
In order to make it easier for those arriving at this post, here are the actual instructions (straight from the blog post linked from the accepted answer).
There has been some talk on twitter about how to create your own IPA file for your iPhone app, so I thought I would give the instructions that I have used to build an IPA before. Enjoy.
实际上,可以为临时发布的 iPhone 软件提供 iTunes 图标。 请参阅此博文了解更多信息。
Actually, it is possible to provide iTUnes icons for iPhone software released as ad-hoc. See this blog post for more information.
我就补充一下我最近的经历吧。 我曾胡思乱想,试图让我的临时应用程序在 iTunes 中显示一个图标(严格来说,是 iTunesArtwork)。 最后,我确信我已按照“T”的说明进行操作,但它仍然不会显示在网格视图中。 然而,我的作品在 Cover Flow 视图中正确显示。 我从 iTunes 中删除并重新安装了我的应用程序,但无济于事。 然后我退出 iTunes 并重新启动 - 瞧! - 我的作品在所有地方都是正确的。 似乎有某种缓存在网格视图中未重置。
I'll just add my recent experience. I had fooled around trying to get my ad hoc app to show up in iTunes with an icon (strictly, iTunesArtwork). Finally, I was convinced I had followed the instructions to a 'T' but it still wouldn't show up in the grid view. However, my artwork was properly displayed in the Cover Flow view. I deleted and reinstalled my app from/to iTunes to no avail. Then I quit iTunes and restarted - and, voila! - my artwork was correct in all places. It appears there is some kind of caching that is not reset in Grid view.
如果您在 iTunes 中看到黑色方块而不是图标,请确保 Xcode 中 iTunesArtwork 的文件类型不是“image.png”。 如果是这样,在复制资源构建阶段,CopyPNGFile 会使 iOS 设备保存无效的文件崩溃。
If you see a black square instead of you icon in iTunes, be sure that file type of iTunesArtwork in Xcode isn't "image.png". If so, in the copy resource build phase, CopyPNGFile will crash the file which invalid save for iOS divices.
您可以在 iTunes 上查看图像。
You can see image on iTunes.
如果您的应用程序是通过应用程序商店分发的,则应用程序图标仅显示在 iTunes 中。
我假设您正在询问开发人员或临时构建。 它们获得默认的黑色“A”图标。
The application icon only shows up in iTunes if your app is distributed through the app store.
I assume you are asking about a developer or ad hoc build. Those get the default black "A" icon.