A useful webapp for creating masked launch icons (certainly android, unsure about ios).

Some additional background reading

https://maskable.app