Skip to content

WIP: feat(icon): Support OS26 icon composer bundles#1568

Draft
dpogue wants to merge 1 commit intoapache:masterfrom
dpogue:feat-icon-support
Draft

WIP: feat(icon): Support OS26 icon composer bundles#1568
dpogue wants to merge 1 commit intoapache:masterfrom
dpogue:feat-icon-support

Conversation

@dpogue
Copy link
Copy Markdown
Member

@dpogue dpogue commented Oct 8, 2025

Platforms affected

iOS

Motivation and Context

Xcode 26 and iOS 26 support a new .icon bundle format from Icon Composer.

Description

Check for icon definitions that have a .icon extension and copy them into the project as resources.

Remaining Work

  • Copy icons into the project
  • Clean icons from the project
  • Unit tests

Testing

Tested manually in an Xcode 26 project.

Checklist

  • I've run the tests to see all new and existing tests pass
  • I added automated test coverage as appropriate for this change

@dpogue dpogue added this to the 8.0.0 milestone Oct 8, 2025
@dpogue dpogue self-assigned this Oct 8, 2025
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 8, 2025

Codecov Report

❌ Patch coverage is 0% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.22%. Comparing base (31d310a) to head (c3753f2).
⚠️ Report is 29 commits behind head on master.

Files with missing lines Patch % Lines
lib/prepare.js 0.00% 33 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1568      +/-   ##
==========================================
+ Coverage   80.17%   80.22%   +0.04%     
==========================================
  Files          18       18              
  Lines        5251     5279      +28     
==========================================
+ Hits         4210     4235      +25     
- Misses       1041     1044       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@erisu erisu modified the milestones: 8.0.0, 8.1.0 Nov 19, 2025
Comment thread lib/prepare.js
if (!isAtLeastXcode26) {
events.emit('warning', `Xcode ${xcodeversion} cannot support icon: ${icon.src}. Skipping...`);
} else if (icon.height || icon.width) {
events.emit('warning', `Cannot specify height or width attributes with Icon Composer icon ${icon.src}. Skipping...`);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of skipping the icon composor, would it just make sense to ignore the icon height & width (and provide a warning stating that height and weight has no effect on icon composer resources)?

Comment thread lib/prepare.js
} else if (icon.height || icon.width) {
events.emit('warning', `Cannot specify height or width attributes with Icon Composer icon ${icon.src}. Skipping...`);
} else if (icon.target) {
events.emit('warning', `Cannot specify target attribute with Icon Composer icon ${icon.src}. Skipping...`);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants