Multilayer VisionOS App icon not working

I tried to use the application icon from sample project https://developer.apple.com/documentation/visionos/diorama, but the 3 layers of the app icon are not separated when I hover on the icon in the Vision Pro simulator. Could you please advise how to fix the problem? I am using the latest Xcode Version 15.4 (15F31d). Thank you.

Answered by jamesic in 807657022

I have fixed the issue. The icon size was incorrect. Once the size has been changed to the same for all layers, it should work.

I also noticed that the layers were not separated for the first time.

When I opened the app and closed the app, the layers got separated as expected.

Can you please try the latest Xcode 16 and download the updated diorama app from website? Please report back if the issue still persists.

Accepted Answer

I have fixed the issue. The icon size was incorrect. Once the size has been changed to the same for all layers, it should work.

I also noticed that the layers were not separated for the first time.

When I opened the app and closed the app, the layers got separated as expected.

Multilayer VisionOS App icon not working
 
 
Q