apache/cordova-ios

Unable to configure icons for Catalyst

sbruens opened this issue · 0 comments

Bug Report

Problem

What is expected to happen?

I'm unable to configure macOS icons to build for Catalyst.

What does actually happen?

Missing icons for Catalyst builds.

Information

We have an iOS app to which we've added support for Mac Catalyst so we can deprecate our macOS app that was dependent on the deprecated cordova-osx. The iOS icon configuration isn't sufficient to cover the Catalyst/macOS icons; specifying the macOS icon sizes does nothing. I'd expect to be able to set macOS icons specified in config.xml, e.g.

<icon src="resources/icons/ios/Icon-24.png" width="24" height="24" />
<icon src="resources/icons/ios/Icon-24@2x.png" width="48" height="48" />  

I appreciate this may be more of a FR instead of a bug, depending on current Catalyst support. I could attempt a PR as well.

Command or Code

Setup for Mac Catalyst and open in XCode and inspect the app icon in the Assets catalog.

Environment, Platform, Device

Mac Catalyst on macOS

Version information

Xcode: Version 15.0.1

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above