Home News Forum Social Networking Support Us Advertise

Spanish Lesson 1 ($1.99)

aWake!Gently ($1.99)

The Bird & The Snail - Knock Knock - Deluxe ($4.99)

Match-It Trains ($0.99)

Tangled ($0.99)

iFlatter ($0.99)

The 15 puzzle ($0.99)

Tap Forms Database ($8.99)

Higher or Lower Card Game (Hi Lo) ($0.99)

Red Pixel ($0.99)

Time-Shift Radio ($0.99)

Want your application advertised here? Only $10/week!

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-28-2008, 04:17 AM   #1 (permalink)
Nos
Member
 
Join Date: Aug 2008
Posts: 62
Rep Power: 1
Nos is on a distinguished road
Default Icon Problem & Distribution Ad-Hoc

Hello Everybody,

I've a big problem on my app.

First : when I build my app, the my_app.app file doesn't have my icon. I tried everything I read on the several threads.

I add my Icon.png to the project. I wrote on the info.plist in the Icon File : Icon.png. I add in the info.plist theses lines : <key>UIPrerenderedIcon</key>
<true/> right before </dict>

If I directly download my on my iphone, it works. I've the icon but if I drag & drop the .app in Itunes, no icon appears.

How can I resolve it ?

Second : I created a distribution profile on the program portal. I included the UUID of the others developers. I wrote the .com.domainname.nameapp.* ont the Bundle Identifier of the info.plist. However, when the others developers drag & drop the .app in the Itunes, there is no possibility to install on their iphone.
How can I resolve it ?

Thanks in advance,

Best regards,

Nos
PS: Sorry for my English, I'm french.
Nos is offline   Reply With Quote
Old 08-28-2008, 10:24 AM   #2 (permalink)
Senior Member
 
Join Date: Apr 2008
Posts: 802
Rep Power: 2
scottiphone is on a distinguished road
Default

Don't use * or other symbols in your identifier. That's ONLY for the portal.
scottiphone is offline   Reply With Quote
Old 08-30-2008, 07:33 AM   #3 (permalink)
Member
 
Join Date: Aug 2008
Posts: 81
Rep Power: 1
indiekiduk is on a distinguished road
Default

Ok there are 3 icons here:
  1. iPhone's app icon
  2. iTune's app icon
  3. OS X .app icon

Forget about the OS X app icon being the default one that doesn't matter at all. If you want a custom icon to appear when you drag the .app into iTunes then you need to learn about the .ipa format. Basically it is a folder called Payload with your .app in it and the folder is zipped and renamed to .ipa. However it can also contain some artwork which iTunes uses for the apps icon. Try renaminig an ipa file for an app you download from the store to .zip and extract and take a look at it. They are in ~/Music/iTunes/Mobile Applications.


Also in case I misunderstood and you are having a problem getting iTunes to show any icon at all, like it doesnt appear to be importing the app (this happens on Windows) then do the zipped payload thing and that definately works on Windows - I tried it.
indiekiduk is offline   Reply With Quote
Old 08-30-2008, 09:04 AM   #4 (permalink)
Member
 
Join Date: Aug 2008
Location: Washington, DC
Posts: 85
Rep Power: 1
kshep is on a distinguished road
Default

To get the app icon to show up in iTunes for Adhoc applications you need to do the following:

1) Build you app
2) Find the .app file and right click on it and Show Package Contents
3) Add a file to the root of that directory called "iTunesArtwork". This should be a 512x512 jpeg file of your icon. There should be no extension on the file it should simply be named "iTunesArtwork"

Now when you drag that app into iTunes it will already have an icon.

-Keith
kshep is offline   Reply With Quote
Old 09-01-2008, 09:16 AM   #5 (permalink)
Nos
Member
 
Join Date: Aug 2008
Posts: 62
Rep Power: 1
Nos is on a distinguished road
Default

Thank you kshep for your help. It works perfectly.

Nos
Nos is offline   Reply With Quote
Old 09-01-2008, 12:16 PM   #6 (permalink)
Member
 
Join Date: Aug 2008
Location: Washington, DC
Posts: 85
Rep Power: 1
kshep is on a distinguished road
Default

Great! Glad I could help.
kshep is offline   Reply With Quote
Old 09-02-2008, 12:08 PM   #7 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 20
Rep Power: 0
robertpgg is on a distinguished road
Default

Quote:
Originally Posted by kshep View Post
To get the app icon to show up in iTunes for Adhoc applications you need to do the following:

1) Build you app
2) Find the .app file and right click on it and Show Package Contents
3) Add a file to the root of that directory called "iTunesArtwork". This should be a 512x512 jpeg file of your icon. There should be no extension on the file it should simply be named "iTunesArtwork"

Now when you drag that app into iTunes it will already have an icon.

-Keith
Does the image have to be 512x512 ? That seems pretty big for an icon file.
robertpgg is offline   Reply With Quote
Old 09-02-2008, 12:18 PM   #8 (permalink)
Member
 
Join Date: Aug 2008
Location: Washington, DC
Posts: 85
Rep Power: 1
kshep is on a distinguished road
Default

No, it doesn't have to be. However, this is the size Apple recommends for the iTunesArtwork icon. iTunes uses this same icon file to generate pre-rendered icons of various sizes that get used throughout iTunes and the App Store (for non ad-hoc apps).

-Keith
kshep is offline   Reply With Quote
Old 10-13-2008, 06:46 PM   #9 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
crabFish's Avatar
 
Join Date: Sep 2008
Posts: 181
Rep Power: 1
crabFish is on a distinguished road
Default

Quote:
Originally Posted by kshep View Post
To get the app icon to show up in iTunes for Adhoc applications you need to do the following:

1) Build you app
2) Find the .app file and right click on it and Show Package Contents
3) Add a file to the root of that directory called "iTunesArtwork". This should be a 512x512 jpeg file of your icon. There should be no extension on the file it should simply be named "iTunesArtwork"

Now when you drag that app into iTunes it will already have an icon.

-Keith
Hm... I'm doing exactly this and it's not working at all...
Is there anything I should think of (like when saving the jpg - tried various ways of saving it) or anything else that might be causing the icon not to show up?

Would really like to know what my icon looks like in it's "bigger" format in iTunes and just not be content with how it looks in the phone...


Thanks!
crabFish is offline   Reply With Quote
Old 10-14-2008, 01:55 AM   #10 (permalink)
Nos
Member
 
Join Date: Aug 2008
Posts: 62
Rep Power: 1
Nos is on a distinguished road
Default

Normally, It works.
1)You draw your Icon with the format 512x512.
2)You rename it with no extension (no .png, no .jpeg....) ItunesArtwork
3) You reveal in finder your building app. In Xcode, right clic on your building app and reveal in finder.
4) Drag & drop your icon with no extension ItunesArtwork on the build app directory.

Do you rename with no extension your icon file ????
Nos is offline   Reply With Quote
Old 10-14-2008, 02:14 AM   #11 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
crabFish's Avatar
 
Join Date: Sep 2008
Posts: 181
Rep Power: 1
crabFish is on a distinguished road
Default

Quote:
Originally Posted by Nos View Post
Do you rename with no extension your icon file ????
Woho! Finally got it to work!
Apparently I had to get info on the jpg and remove the extension in the Name & Extension tab in the info-box of the image... Renaming it without the extension in the finder just wasn't enough it seems...
crabFish is offline   Reply With Quote
Old 10-23-2008, 06:36 PM   #12 (permalink)
Mobile Geek
 
Join Date: Aug 2008
Location: Florida, USA
Posts: 350
Rep Power: 1
rames44 is on a distinguished road
Send a message via AIM to rames44 Send a message via Yahoo to rames44
Default

I had the same problem. The file I originally had was named iTunesArtwork.png (Apple's docs said to use a PNG - I've since figured out that it works with either a PNG or a JPEG, but in my case the PNG is considerably smaller). Using the Finder, I renamed the file to just "iTunesArtwork", but it didn't work when put into the built application. In addition, somehow XCode remained convinced that the "real" name was iTunesArtwork.png when I tried to import it, even though it showed as just "iTunesArtwork" through the Finder and through the import process.

What I finally did was open up a terminal window and go look at the file. It turns out that even though Finder wasn't showing the extension any more, the underlying file still had the extension - Finder was just hiding it. One clue was that the file's icon was still showing up as a graphic.

When I used the terminal window to rename the file
Code:
mv iTunesArtwork.png iTunesArtwork
then, in the Finder, the icon for the file changed from my graphic to a gray rectangle. THAT file worked just fine when dropped into my built application. I was even able to then import it into XCode so that it's automatically included in the build.

Moral: Don't trust the Finder when it comes to removing extensions on files. Go down to the bare metal and do it for sure.
rames44 is offline   Reply With Quote
Old 10-23-2008, 07:06 PM   #13 (permalink)
Junior Member
 
Join Date: Oct 2008
Posts: 18
Rep Power: 0
bkaplan is on a distinguished road
Default

I tried adding the iTunesArtwork file to my xcode build process and although it built the app just fine, it causes xcode to fail at putting any apps on my iPhone. I hope apple solves this problem.
bkaplan is offline   Reply With Quote
Old 06-05-2009, 01:14 AM   #14 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 2
Rep Power: 0
wsurferdude is on a distinguished road
Default Still having problems adding iTunesArtwork to App

Quote:
Originally Posted by kshep View Post
To get the app icon to show up in iTunes for Adhoc applications you need to do the following:

1) Build you app
2) Find the .app file and right click on it and Show Package Contents
3) Add a file to the root of that directory called "iTunesArtwork". This should be a 512x512 jpeg file of your icon. There should be no extension on the file it should simply be named "iTunesArtwork"

Now when you drag that app into iTunes it will already have an icon.

-Keith
I've followed your directions on this page exactly. I'm using a dist ad-hoc provisioning file and loading the app just fine from iTunes and XCode, but when I reveal the contents and drop in the iTunesArtwork (no ext) then drag it to iTunes I get the error "could not be verified". it seems like a checksum error?? Any clues??

-John
wsurferdude is offline   Reply With Quote
Old 06-05-2009, 01:16 AM   #15 (permalink)
Member
 
Join Date: Aug 2008
Location: Washington, DC
Posts: 85
Rep Power: 1
kshep is on a distinguished road
Default

Quote:
Originally Posted by wsurferdude View Post
I've followed your directions on this page exactly. I'm using a dist ad-hoc provisioning file and loading the app just fine from iTunes and XCode, but when I reveal the contents and drop in the iTunesArtwork (no ext) then drag it to iTunes I get the error "could not be verified". it seems like a checksum error?? Any clues??

-John
Yeah, this method of doing this no longer works. I'm sure there is a new way of doing it, but I stop bothering with doing it for betas. Anyone else know?

-Keith
__________________
Imangi Studios, LLC creator of Little Red Sled, Imangi, and Imangi Word Squares
kshep is offline   Reply With Quote
Old 06-05-2009, 07:43 AM   #16 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 2
Rep Power: 0
wsurferdude is on a distinguished road
Default Thanks for the Update!

Quote:
Originally Posted by kshep View Post
Yeah, this method of doing this no longer works. I'm sure there is a new way of doing it, but I stop bothering with doing it for betas. Anyone else know?

-Keith
Thanks for the update... I guess I'm too used to the Visual Dev Environment where you set up ALL your resources within the build.
wsurferdude is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


» Advertisements


» Online Users: 168
13 members and 155 guests
aki, Alexman, atsd, BostonMerlin, bret, dejuan, lepetitapps, Neverever, P-atr1k, Raphy, Sekharbethalam, Slecorne, _mubashir
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 8,174
Threads: 20,132
Posts: 89,979
Top Poster: RickMaddy (2,121)
Welcome to our newest member, bret
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:19 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0