iTunesArtwork和XCode [英] iTunesArtwork and XCode

查看:115
本文介绍了iTunesArtwork和XCode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将iTunesArtwork文件添加到我的iPhone应用程序中,以便遵循iTunes的图标/插图指南。我添加了一个与iTunesArtwork要求(512x512 JPG)匹配的文件到我的项目中。一旦我这样做,我就无法再在我的设备上安装该应用程序。我一直收到此错误:

I'm trying to add the iTunesArtwork file to my iPhone application in order to follow the guidelines for icons/artwork for iTunes. I've added a file that matches the iTunesArtwork requirements (512x512 JPG) to my project. Once I do that, I can no longer install the application on my device. I keep getting this error:


您的移动设备遇到意外错误(0xE8000058)

Your mobile device has encountered an unexpected error (0xE8000058)

iTunesArtworkCaptureFailed

iTunesArtworkCaptureFailed

有没有人有解决这个问题的经验?

Does anyone have any experience resolving this?

推荐答案

在临时构建的情况下,我在以下方面取得了一些成功:

In the case of an ad hoc build, I've had some success doing the following:


  • 创建要在iTunes中显示的512x512 png图标/插图。

  • 将文件重命名为 iTunesArtwork (没有扩展名和大写字母)和
    将它放在您的应用程序根文件夹中,
    然后将其添加到xcode中应用程序资源的顶层。

  • 在设备版本中重建应用程序你正在部署的版本

  • Create a 512x512 png of the icon/artwork you want to show up in iTunes.
  • Rename the file to iTunesArtwork (with no extension and that capitalization) and place it in your app root folder and then add it at the top level of your application resources in xcode.
  • Rebuild the app in release for the device version you are deploying to

我已经开始使用临时版本了,但老实说我把它拿出来因为它有效当我配置发布版本并导致你显示的错误当我调试构建并尝试在模拟器上运行时。为我添加和删除项目中的文件是不值得的。

I've had this work with ad hoc builds, but to be honest I took it out because it works when I do provisioned release builds and causes the error you show there when I do debug builds and try to run on the simulator. It wasn't worth the hassle of adding and removing the file from the project for me.

这篇关于iTunesArtwork和XCode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆