App Icon - No idea how to make this work!

I replaced Icon.png, and I tried following the instructions here:

file:///Applications/Unity%20iPhone/Unity%20iPhone.app/Contents/Documentation/Documentation/Components/Unity%20iPhone%20Basics.html

…only, I can’t add that existing file. There’s a Perl script on these boards that is supposed to take care of the problem automagically…

http://forum.unity3d.com/viewtopic.php?t=17373&highlight=icon

…but I don’t know how to create a file without an extension. Even though I have a differet icon in the project folder, I keep seeing the Unity icon on my Home screen. Help?

I can submit my first game as soon as this works!

Hey there Jessy,

This had me for a couple of days too, point you mouse to the file and hit the two keys on your keyboard Apple i

Then select ‘name and extension’, and simply remove it. In case you cant here a link to the file I copied off the forums yesterday, use this.

http://www.smartscreenuk.com/PostprocessBuildPlayer

In your project Assets folder make a folder called Editor and copy this file into the Editor folder.

Then make sure YOUR ‘Icon.png’ and 'Default.png" graphics are in your Unity project root folder, i.e. outside your Assets folder.

Then Build your project and it should do the trick.

Kenlem is the genius who provided the help to get mine working.

Just do it manually.

  1. Build your app from Unity (not Build Run, just build).

  2. Find the project folder that was created and manually copy a new icon file into place over the existing one.

Done.

I’m not sure about the PERL script example provided but it should be workable (I created a similar script for web player building that copies images/files into place).

Higgy,

Ack that’s what I was doing wrong! I kept using Build and Run Wah wah - this script solution works fine for me now and is automatic so thats fine. lol!

I tried that many times. No worky!

I’m going to give the script a try. Let me know if I should file a bug, or if there is something that could be going wrong with Xcode that could be causing the problem, about which I am ignorant (VERY POSSIBLE!)

Hey Jessy,

Then maybe it wasn’t me after all - anyways try this script method it works beautifully for me, but I had to follow Kenlem’s instructions to the absolute before it all fell into place.

I am happy to report now that for the last 24 hours every build of my game has my icon and my splash screen and they look great on the iPhone!

I will hang around to provide any direct help I can for a half hour or so.

The script worked fantastically! Thanks! (I kinda figured that deletion of the extension trick was what I needed to do, but I wasn’t sure.)

Just have to get approval of my sound effects work from the other half of my team (who happens to also be my better half :wink:), and we’re set to “ship”. I’m excited!

Puzzling… After doing the above did you build the app from XCode or from within Unity? Every time you build from within Unity the icon and default loader images are replaced with the “stock” ones. So step 3 should have been listed which was to build your actual iPhone application from within XCode and not Unity. Can you confirm that you’ve followed all three steps? If you manually replace it and build from XCode and it fails, then do log a bug as that shouldn’t happen.

Yep, Tom, Build from Unity, Build Go in Xcode after replacing the icon and launching the Xcode project. Bug already sent. But I can still submit the app!

Higgy,

When I first replaced the icon, I mistakenly did it from INSDIE xCode and that was my first mistake, it completely screwed up my project installation, I think there was a question about removing references during the replace. Anyways I thought I tried the above method a few times, and to no avail, but I did it prior to build and run, which obviously messed it up.

As I say Kenlem donated this script and if you follow his instructions to the letter it all works fine.

@Jessy, hey that is fantastic news - and good luck with the game - let us know what it is so we can check it out.

I faintly remember building an app without the new icon, installing it, then building it again with the new icon, installing it over the old one and there was no new icon. So I deleted the app from the iphone, built and installed again and there it was: new icon…

Through trial and error I pretty much do what Tom outlines and it works fine. Build from Unity, replace the icon.png in the Finder and Build and Go from xcode.