 |
 |
|
 |
08-28-2008, 04:17 AM
|
#1 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 62
Rep Power: 1
|
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.
|
|
|
08-28-2008, 10:24 AM
|
#2 (permalink)
|
|
Senior Member
Join Date: Apr 2008
Posts: 802
Rep Power: 2
|
Don't use * or other symbols in your identifier. That's ONLY for the portal.
|
|
|
08-30-2008, 07:33 AM
|
#3 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 81
Rep Power: 1
|
Ok there are 3 icons here:
- iPhone's app icon
- iTune's app icon
- 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.
|
|
|
08-30-2008, 09:04 AM
|
#4 (permalink)
|
|
Member
Join Date: Aug 2008
Location: Washington, DC
Posts: 85
Rep Power: 1
|
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
|
|
|
09-01-2008, 09:16 AM
|
#5 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 62
Rep Power: 1
|
Thank you kshep for your help. It works perfectly.
Nos
|
|
|
09-01-2008, 12:16 PM
|
#6 (permalink)
|
|
Member
Join Date: Aug 2008
Location: Washington, DC
Posts: 85
Rep Power: 1
|
Great! Glad I could help.
|
|
|
09-02-2008, 12:08 PM
|
#7 (permalink)
|
|
Junior Member
Join Date: Aug 2008
Posts: 20
Rep Power: 0
|
Quote:
Originally Posted by kshep
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.
|
|
|
09-02-2008, 12:18 PM
|
#8 (permalink)
|
|
Member
Join Date: Aug 2008
Location: Washington, DC
Posts: 85
Rep Power: 1
|
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
|
|
|
10-13-2008, 06:46 PM
|
#9 (permalink)
|
|
Senior Member
iPhone Dev SDK Supporter
Join Date: Sep 2008
Posts: 181
Rep Power: 1
|
Quote:
Originally Posted by kshep
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!
|
|
|
10-14-2008, 01:55 AM
|
#10 (permalink)
|
|
Member
Join Date: Aug 2008
Posts: 62
Rep Power: 1
|
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 ????
|
|
|
10-14-2008, 02:14 AM
|
#11 (permalink)
|
|
Senior Member
iPhone Dev SDK Supporter
Join Date: Sep 2008
Posts: 181
Rep Power: 1
|
Quote:
Originally Posted by Nos
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...
|
|
|
10-23-2008, 06:36 PM
|
#12 (permalink)
|
|
Mobile Geek
Join Date: Aug 2008
Location: Florida, USA
Posts: 350
Rep Power: 1
|
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.
|
|
|
10-23-2008, 07:06 PM
|
#13 (permalink)
|
|
Junior Member
Join Date: Oct 2008
Posts: 18
Rep Power: 0
|
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.
|
|
|
06-05-2009, 01:14 AM
|
#14 (permalink)
|
|
New Member
Join Date: Jun 2009
Posts: 2
Rep Power: 0
|
Still having problems adding iTunesArtwork to App
Quote:
Originally Posted by kshep
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
|
|
|
06-05-2009, 01:16 AM
|
#15 (permalink)
|
|
Member
Join Date: Aug 2008
Location: Washington, DC
Posts: 85
Rep Power: 1
|
Quote:
Originally Posted by wsurferdude
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
|
|
|
06-05-2009, 07:43 AM
|
#16 (permalink)
|
|
New Member
Join Date: Jun 2009
Posts: 2
Rep Power: 0
|
Thanks for the Update!
Quote:
Originally Posted by kshep
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.
|
|
|
 |
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
» 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 |
|