Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
418 views
in Technique[技术] by (71.8m points)

iphone - iTunesArtwork and XCode

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:

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

iTunesArtworkCaptureFailed

Does anyone have any experience resolving this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

  • 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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...