I've got an iPhone app with icon file Icon.png.
我有一个带有图标文件图标的iPhone应用程序。
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.
当应用程序在手机上时,这个图标会正确地显示出来,但是它不会在iTunes的应用程序窗格中显示出来。
What do I need to do to get it to show up properly?
我需要做什么才能让它正常显示?
8 个解决方案
#1
80
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.
测试人员看到的iTunes美术品应该是应用程序的图标。该美术作品必须是一个512 x 512 JPEG或PNG文件命名为iTunesArtwork。注意,该文件必须没有扩展名。
After generating the file of your application’s icon, follow these steps to add it to your application:
生成应用程序图标的文件后,按照以下步骤将其添加到应用程序:
- Open your project in Xcode.
- 在Xcode中打开您的项目。
- In the Groups & Files list, select the Resources group.
- 在“组和文件”列表中,选择“资源组”。
- Choose Project > Add to Project, navigate to your iTunesArtwork file, and click Add.
- 选择Project > Add to Project,导航到iTunesArtwork文件,然后单击Add。
- In the dialog that appears, select the ”Copy items” option and click Add.
- 在出现的对话框中,选择“复制项”选项并单击Add。
Note that the PNG or JPEG file is just 'iTunesArtwork', with no suffix.
注意,PNG或JPEG文件只是“iTunesArtwork”,没有后缀。
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).
如果您尝试在构建后将文件复制到应用程序包中,它将中断应用程序签名,当您试图将文件同步到您的设备时,您将得到一个验证错误。确保artwork文件包含在“Copy Bundle Resources”文件夹中,该文件夹位于项目的目标XCode中(上面的步骤4)。
#2
11
Create a 512x512 png of your icon, name it "iTunesArtwork" (no extension, no quotes) and add it to your project under Resources. Then build.
创建一个512x512 png图标,命名为“iTunesArtwork”(无扩展名,无引号),并将其添加到参考资料下的项目中。然后构建。
More details here:
更多细节在这里:
http://developer.apple.com/library/ios/文档/ Xcode /概念/ / introduction.html ios_development_workflow / 000 -介绍
#3
9
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.
在twitter上有一些关于如何为你的iPhone应用创建自己的IPA文件的讨论,所以我想我会给出我以前用来构建IPA的指令。享受。
- Create a folder on your desktop called “working”. Open that and create another folder inside of it called “Payload” (case-sensitive)
- 在桌面上创建一个名为“working”的文件夹。打开它并在其中创建另一个名为“有效负载”(区分大小写)的文件夹
- Move your iTunesArtwork file into the “working” folder and your .app into the Payload folder.
- 将iTunesArtwork文件移动到“working”文件夹中,将.app移到有效负载文件夹中。
- Open Terminal and run the following command: chmod -R 775 ~/Desktop/working/Payload
- 打开终端,运行以下命令:chmod - r775 ~/桌面/工作/负载。
- Go into your ProgName.app folder within Payload.
- ProgName进入。应用程序文件夹内负载。
- Double-click the Info.plist file. Make sure there is a item called: SignerIdentity with a value of: Apple iPhone OS Application Signing. If there is not, add it.
- 双击信息。plist文件。确保有一个名为:SignerIdentity的条目,其值为:Apple iPhone OS应用程序签名。如果没有,添加它。
- Zip it all up. Zip the iTunesArtwork and Payload folder. (So zip up what is inside of the working folder)
- 邮政起来。压缩iTunesArtwork和有效负载文件夹。(因此压缩工作文件夹内的内容)
- Rename the zip file to have the name you want, and the extension of ipa.
- 将zip文件重命名为您想要的名称和ipa扩展名。
- Double click to install with iTunes
- 双击iTunes安装
#4
5
Actually, it is possible to provide iTUnes icons for iPhone software released as ad-hoc. See this blog post for more information.
实际上,可以为特别发布的iPhone软件提供iTUnes图标。更多信息请参见这篇博文。
#5
1
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上显示一个图标(严格地说,是iTunesArtwork)。最后,我确信我已经按照指示做了一个“T”,但它仍然不会出现在grid视图中。然而,我的作品被正确地显示在封面流视图中。我删除并重新安装了我的应用从/到iTunes没有任何用处。然后我退出iTunes,重新开始——瞧!-我的作品在所有地方都是正确的。在Grid view中似乎存在某种未重置的缓存。
#6
1
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中看到的是黑色方块而不是图标,请确保Xcode中的iTunesArtwork文件类型不是“image.png”。如果是这样,在复制资源构建阶段,CopyPNGFile将会崩溃该文件,该文件将为iOS div保存无效。
#7
1
- Open your project in Xcode.
- 在Xcode中打开您的项目。
- Copy iTunesArtwork.png file into project folder.
- iTunesArtwork副本。将png文件放入项目文件夹。
- Edit iTuneArtwork.png file and remove .png from iTunesArtwork.
- 编辑iTuneArtwork。png文件,并从iTunesArtwork中删除。png。
- Generate build.
- 生成构建。
You can see image on iTunes.
你可以在iTunes上看到图片。
#8
-6
The application icon only shows up in iTunes if your app is distributed through the app store.
应用程序图标只有在你的应用程序通过应用程序商店发布时才会出现在iTunes中。
I assume you are asking about a developer or ad hoc build. Those get the default black "A" icon.
我假设您正在询问开发人员或特定的构建。它们得到默认的黑色“A”图标。
#1
80
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.
测试人员看到的iTunes美术品应该是应用程序的图标。该美术作品必须是一个512 x 512 JPEG或PNG文件命名为iTunesArtwork。注意,该文件必须没有扩展名。
After generating the file of your application’s icon, follow these steps to add it to your application:
生成应用程序图标的文件后,按照以下步骤将其添加到应用程序:
- Open your project in Xcode.
- 在Xcode中打开您的项目。
- In the Groups & Files list, select the Resources group.
- 在“组和文件”列表中,选择“资源组”。
- Choose Project > Add to Project, navigate to your iTunesArtwork file, and click Add.
- 选择Project > Add to Project,导航到iTunesArtwork文件,然后单击Add。
- In the dialog that appears, select the ”Copy items” option and click Add.
- 在出现的对话框中,选择“复制项”选项并单击Add。
Note that the PNG or JPEG file is just 'iTunesArtwork', with no suffix.
注意,PNG或JPEG文件只是“iTunesArtwork”,没有后缀。
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).
如果您尝试在构建后将文件复制到应用程序包中,它将中断应用程序签名,当您试图将文件同步到您的设备时,您将得到一个验证错误。确保artwork文件包含在“Copy Bundle Resources”文件夹中,该文件夹位于项目的目标XCode中(上面的步骤4)。
#2
11
Create a 512x512 png of your icon, name it "iTunesArtwork" (no extension, no quotes) and add it to your project under Resources. Then build.
创建一个512x512 png图标,命名为“iTunesArtwork”(无扩展名,无引号),并将其添加到参考资料下的项目中。然后构建。
More details here:
更多细节在这里:
http://developer.apple.com/library/ios/文档/ Xcode /概念/ / introduction.html ios_development_workflow / 000 -介绍
#3
9
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.
在twitter上有一些关于如何为你的iPhone应用创建自己的IPA文件的讨论,所以我想我会给出我以前用来构建IPA的指令。享受。
- Create a folder on your desktop called “working”. Open that and create another folder inside of it called “Payload” (case-sensitive)
- 在桌面上创建一个名为“working”的文件夹。打开它并在其中创建另一个名为“有效负载”(区分大小写)的文件夹
- Move your iTunesArtwork file into the “working” folder and your .app into the Payload folder.
- 将iTunesArtwork文件移动到“working”文件夹中,将.app移到有效负载文件夹中。
- Open Terminal and run the following command: chmod -R 775 ~/Desktop/working/Payload
- 打开终端,运行以下命令:chmod - r775 ~/桌面/工作/负载。
- Go into your ProgName.app folder within Payload.
- ProgName进入。应用程序文件夹内负载。
- Double-click the Info.plist file. Make sure there is a item called: SignerIdentity with a value of: Apple iPhone OS Application Signing. If there is not, add it.
- 双击信息。plist文件。确保有一个名为:SignerIdentity的条目,其值为:Apple iPhone OS应用程序签名。如果没有,添加它。
- Zip it all up. Zip the iTunesArtwork and Payload folder. (So zip up what is inside of the working folder)
- 邮政起来。压缩iTunesArtwork和有效负载文件夹。(因此压缩工作文件夹内的内容)
- Rename the zip file to have the name you want, and the extension of ipa.
- 将zip文件重命名为您想要的名称和ipa扩展名。
- Double click to install with iTunes
- 双击iTunes安装
#4
5
Actually, it is possible to provide iTUnes icons for iPhone software released as ad-hoc. See this blog post for more information.
实际上,可以为特别发布的iPhone软件提供iTUnes图标。更多信息请参见这篇博文。
#5
1
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上显示一个图标(严格地说,是iTunesArtwork)。最后,我确信我已经按照指示做了一个“T”,但它仍然不会出现在grid视图中。然而,我的作品被正确地显示在封面流视图中。我删除并重新安装了我的应用从/到iTunes没有任何用处。然后我退出iTunes,重新开始——瞧!-我的作品在所有地方都是正确的。在Grid view中似乎存在某种未重置的缓存。
#6
1
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中看到的是黑色方块而不是图标,请确保Xcode中的iTunesArtwork文件类型不是“image.png”。如果是这样,在复制资源构建阶段,CopyPNGFile将会崩溃该文件,该文件将为iOS div保存无效。
#7
1
- Open your project in Xcode.
- 在Xcode中打开您的项目。
- Copy iTunesArtwork.png file into project folder.
- iTunesArtwork副本。将png文件放入项目文件夹。
- Edit iTuneArtwork.png file and remove .png from iTunesArtwork.
- 编辑iTuneArtwork。png文件,并从iTunesArtwork中删除。png。
- Generate build.
- 生成构建。
You can see image on iTunes.
你可以在iTunes上看到图片。
#8
-6
The application icon only shows up in iTunes if your app is distributed through the app store.
应用程序图标只有在你的应用程序通过应用程序商店发布时才会出现在iTunes中。
I assume you are asking about a developer or ad hoc build. Those get the default black "A" icon.
我假设您正在询问开发人员或特定的构建。它们得到默认的黑色“A”图标。