How do I add App Icons ?

Can anyone help me get my App Icons working on Apple TV? I've tried two different ways and still see nothing except an empty white icon on the Apple TVs home screen for my App.


Method 1

I used the Parallax Previewer tool to create a two layer 400 x 240 image and exported it to my Resources folder with the filename "AppIcon.lsr" and added it to my project. Then I added the following lines to my Info.plist file:


<key>CFBundleIconFiles</key>

<array>

<string>AppIcon.lsr</string>

</array>


Built the project and deployed it to my Apple TV devkit .... nothing but a white App Icon.


Method 2


Removed the stuff from Method 1 then clicked on "Use Asset Catalog" next to "App Icons Source" under my project's General tab. That created an Images.xcassets file in my Resources folder containing an empty "BrandAsset" folder. Then I clicked on the + button and selected "App Icons & Launch Images > New tvOS AppIcon and Top Shelf Image".This created another folder called "Brand Assets" above the "BrandAsset" folder. I then dragged my two 400 x 240 and two 1280 x 768 icon layer png files to the "App Icon - Small" and "App Icon - Large" image wells (used the Front and Back ones and left the Middle one empty). Everything looked good on the image previews and the icons moved around in parallax with the lighting. However, when I deployed the App I just got a white App Icon again. I then tried dragging the "App Icon - Large" and "App Icon - Small" assets from the "Brand Assets" folder to the "BrandAsset" folder and then started getting warnings "The brand asset collection "BrandAsset" has an unassigned item "App Icon - Large" and "The brand asset collection "BrandAsset" has an unassigned item "App Icon - Small". Do I have to add something to the Info.plist file to tell it what icons to use? I'm not sure what I'm supposed to assign these icons to or what I'm doing wrong here. Help !!!!!

Answered by Spuddy in 61661022

SUCCESS !!!


Okay, I've figured out how to fix this. The warning about unassigned items occurs when you drag an icon to another folder. This seems to break things and appears to be a bug. What I didn't realize was that there's a section in the XCode project's Build Settings called "Asset Catalog Compiler - Options". It's under all the Apple LLVM sections so scroll nearly all the way to the bottom and you'll see it. There you can change "Asset Catalog App Icon Set Name" and "Asset Catalog Launch Image Set Name" to whatever folder name you've created in the asset catalog.


So here are the steps you need to take to add an App Icon:


1) If you've clicked on the the arrow next to "App Icons Source" then click on your "Images.xcassets" file that it created and delete the "BrandAsset" folder.

2) Also delete the "Brand Assets" folder if you created one just to be safe.

3) Making sure no folders are selected in your asset catalog, press the + button and select "App Icons & Launch Images > New tvOS App Icon and Top Shelf Image". This will create a new "Brand Assets" folder containing your App Icon and Top Shelf image wells.

4) Rename the "Brand Assets" folder to whatever name makes sense. I changed mine to "tvOS Icon" which is what the DemoBots project uses but it really doesn't matter what you call it.

5) Drag your Large and Small png files over to the approprate image wells in the "App Icon - Large" and "App Icon - Small" image layers. You can delete or add layers as you need to.

6) Now, this is the important part .... go to your project's "Build Settings" tab, scroll down to the "Asset Catalog Compiler - Options" section near the bottom and change the "Asset Catalog Launch Image Set Name" to the name you changed the folder to in step 4 (eg "tvOS Icon").


Build and deploy and you should see your App Icon finally! Delete the App from your Apply TV device if you don't (Settings > General > Manage Storage) but you shouldn't have to.


Dragging items between folders in the asset catalog causes problems. Don't do it !!!

@TidBits - I also get ITMS errors (sepcifically 90523, 90532, and 90532). My designer has been using both the photoshop tool and parallax previewer tool to export app icons to upload a Beta 3 build of an application. We have still been unsuccessful after several hours. Note that these icons had previously worked with beta 2 and I have made one successful testflight upload previously. As far as we can tell, none of our background layers have transparency at all. Our app icons are attached in the following radar I just posted 23047439


Thanks!

Thanks for filing the bug Erik - We're looking into it!

same here. Getting errors 90528, 90523, 90531 and 90532. I tried every possible image (no alpha, jpgs..) and lost several hours before I saw this post.. Hopefully it will be fixed soon.

Hey @TidBits, any news on this? I have the same issue with uploading. I tried everything what I could find on this forum – but still getting 90528, 90523, 90531 and 90532.

Thanks

Hey Konstantin,


Are you confident that the image assets (or your photoshop project) is exactly the right size? i.e. 300x240 for the small icon?

Hey,

you mean 400x240. After some hours I finally found the bug:

the problem was one of the layers, which was too small. Initially, it had a size of 56x56. After I made it bigger (in my case 112x112) everything went fine and there were no errors. I don't know where exactly this threshold for the layer size is – I had no time to try out different sizes.But it's definitely a bug. I wonder why no one else got it..

Sorry, yes. 240x400.


Could you please file a bug with the PSD at bugreporter.apple.com?


Glad you found the cause.

+1


I get exactly the same errors, no matter what hoops I jump through. I tried everything on this thread. Nothing worked. I still get those same 4 bugs. Spent 8 hours today and still feel like I'm banging my head against the wall.


I submitted bug #23194249 to bugreport.apple.com:


Summary:

No matter what I do, I can't get the App Icon - Small to be valid when uploading a build. It works great in the simulator and on our AppleTV. I started by using an lsr file that was generated by your Photoshop plugin, but since you can't drop that on an App Icon directly, I imported it and then moved the layers up to the appropriate App Icon. I found a forum thread that said that there was a bug with that, so I created a new App Icon & Top Shelf Image and manually exported all the png files from photoshop and then dropped them into their appropriate wells in the new icon spaces. Interestingly, this seems to have worked fine for the large image, but not the small one. Everything works dandy on the device, but when uploading to iTunes tvOS store, I always get the errors.


Steps to Reproduce:

1. Create a 5 layer App Icon - Small at the correct size using the provided images.

2. Build and Archive the project.

3. Attempt to upload that build to iTunes.


Expected Results:

It should upload without errors.


Actual Results:

I get 4 errors (see attached screenshot.)

ITMS-90528, ITMS-90523, ITMS-90531, ITMS-90532


Version:

tvOS Version 9.0 (13T5379f), xCode Version 7.1 beta 3 (7B85)


Notes:

I have included the 5 png files and an exported version of the lsr file as well as a screenshot of the errors.


Configuration:

tvOS Version 9.0 (13T5379f), xCode Version 7.1 beta 3 (7B85)


Attachments:

'bug.zip' was successfully uploaded.

Hey BJamUT,

see my answer from yesterday – I managed to find the reason for this bug (one of your layers seems to be too small).

– Konstantin

rdar://23199080

Hey Konstantin,


I just looked at your radar - can you please add the steps you used to create the icon? Namely, please note which version of photoshop you were using, and that you were using the plugin to export the LSR?


Thanks!

Hi BJamUT,


Can you please confirm that when you used the PNG method, that all of the PNGs are actually the full icon size?


Thanks!

Indeed, four of my five layers were smaller than the full size of the icon. When I modified them to be full-size, I was able to upload.


I would assume this is still a bug that needs to be fixed since the LSR tool creates cropped pngs and there is UI for changing the location of the layer to something other than "Center in Canvas". However, I am very thankful for the workaround, which I added to the bug that I filed.


Thanks, Konstantin & TidBits!

F***ING GENIUS 🙂

I read through this message thread and tried to duplicate what is being said, but I am still having issues.


I am trying to "import" a generated LSR from Photoshop. I tried to go to the Assets catalog and import from there, but it makes a new imageset and then when compiling it says they are unassigned items. I tried deleted everything including that Assets Catalog, still no success. I checked the Assets Compiler option to make sure it was correct.


Any help from anybody that has performed the LSR import?


Thanks in advance.

How do I add App Icons ?
 
 
Q