apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 986 forks source link

Unable to configure icons for Catalyst #1387

Open sbruens opened 5 months ago

sbruens commented 5 months ago

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