Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

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

Reply
 
LinkBack Thread Tools Display Modes
Old 06-30-2011, 10:07 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 3
nyundi is on a distinguished road
Default Ad-Hoc Icon in emulator, not on hardware

Hi everyone! I'm very new to IOS dev (first app!) and am having some trouble getting my app's icon to show up on hardware.

I've found a few other posts about this but as far as I can tell, the advice given doesn't help me out

I have an app, targeted at IOS 3.0; I've added two icons to the standard target (the normal Icon.png, and the retina Icon@2x.png). Both display in the target's summary (using XCode 4). I've added the images as resources to the project, and according to the info pane, they are all listed under the "Icon Files". The property "Icon File" is empty (I've read this is correct, but I've also tried putting values in here as well).

If I clean, build, and then archive (choosing the correct target, etc.), I end up with an .ipa file, which I can drag into iTunes and sync to my phone. The app works, so yay! However my phone does not display the icon.

I opened the contents of the .ipa and the files are there, but are curiously blank. The stranger thing here is that I've also added a splash screen (Default.png), which does in fact render on the hardware, and the file appears blank in the contents of the archive (I'm guessing this blankness then has nothing to do with the problem).

As I recall, the icon did appear when I ran the app directly through XCode to my phone; but as I'm trying to set up an Ad-Hoc system for beta testing, I'm trying my best to emulator my tester's experiences...

At this point, I'm at a loss for what to do. I'm too much of a newbie to figure out my way around XCode easily enough, and google is failing me on this.

Please help, and thanks so much in advance!
nyundi is offline   Reply With Quote
Old 06-30-2011, 10:12 AM   #2 (permalink)
Reading the Documentation
 
baja_yu's Avatar
 
Join Date: Sep 2010
Location: 45.255019,19.844908
Posts: 5,414
baja_yu has a spectacular aura about
Default

If I remember correctly, an additional 512x512 image, iTunesArtowrk (no extension) is to be included for ad hoc builds, but that should only be for display in iTunes. The device should still use the Icon and Icon@2x.

P.S: A side not since you're new. The Default image is not a splash screen, and should not be used as such. This is specifically noted in the HIG.
baja_yu is offline   Reply With Quote
Old 06-30-2011, 10:26 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 3
nyundi is on a distinguished road
Default

Quote:
Originally Posted by baja_yu View Post
If I remember correctly, an additional 512x512 image, iTunesArtowrk (no extension) is to be included for ad hoc builds, but that should only be for display in iTunes. The device should still use the Icon and Icon@2x.

P.S: A side not since you're new. The Default image is not a splash screen, and should not be used as such. This is specifically noted in the HIG.
Thanks for the fast reply. I do have iTunesArtwork in, and it works fine. I have Icon.png and Icon@2x.png at the same level as iTunesArtwork in the project, but alas, no good. Any other suggestions?

(also, thanks for the heads up on Default.png)
nyundi is offline   Reply With Quote
Old 06-30-2011, 10:43 AM   #4 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 3
nyundi is on a distinguished road
Default

Aha, I've found the problem.

At some point (yesterday probably) I had the wrong icon name. After deploying that to my test phone, obviously, it didn't work properly.

Since then, I've simply been re-syncing through iTunes my latest updates, and never saw a change. Apparently I had to manually delete the app, sync, and then re-install the app, syncing again.

That forced through whatever changes it seemed to be ignoring, and made the icon appear.

Hopefully this will help someone else out in the future!
nyundi is offline   Reply With Quote
Reply

Bookmarks

Tags
icon

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: 338
9 members and 329 guests
apatsufas, chemistry, lendo, leostc, Leslie80, lzwasyc, MarkC, pbart, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,664
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Leslie80
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:32 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0