-
Notifications
You must be signed in to change notification settings - Fork 999
Open
Description
Feature Request
Motivation Behind Feature
iOS/macOS/visionOS/Xcode 26 support a new icon format that uses vector drawing and effect layers to composite an icon dynamically for different modes and scales.
Cordova should (when building with Xcode 26) support providing an app icon in that new format.
Feature Description
If an <icon>
tag is defined in config.xml whose src
attribute has an extension of .icon
and a folder exists at that path, it should be copied in to the platform App folder and added to the Xcode project.pbxproj file as a resource (essentially, treat it the same as <resource-file>
but with a hardcoded target path of AppIcon.icon
)
Implementation
<icon src="res/icon/ios/IconComposerFile.icon" />
is effectively the same as
<resource-file src="res/icon/ios/IconComposerFile.icon" target="../AppIcon.icon" />
Alternatives or Workarounds
Make people use <resource-file>
directly, which seems less than ideal since this is likely to be a common use case.
Metadata
Metadata
Assignees
Labels
No labels