-
Notifications
You must be signed in to change notification settings - Fork 555
Add support for Composer Icons #24476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: paulober <44974737+paulober@users.noreply.github.com>
|
@dotnet-policy-service agree |
rolfbjarne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could not figure out based on the docs how to get it installed locally to test it with my MAUI app. Advices would be appreciated.
Were you able to build the repository locally?
If so, the easiest way is to build your MAUI app using the local build by executing dotnet from the checkout:
cd /path/to/dotnet/macios
# build macios
make all -j8 && make install -j9
# install the MAUI workload
dotnet workload install maui-ios --skip-manifest-update
# build your project
dotnet build /path/to/your/maui-project.csprojIf you could also add an .icon resource to this test project:
https://github.com/dotnet/macios/tree/main/tests/dotnet/AppWithXCAssets
that would be great!
| [Test] | ||
| [TestCase (ApplePlatform.iOS)] | ||
| [TestCase (ApplePlatform.MacCatalyst)] | ||
| [TestCase (ApplePlatform.MacOSX)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't work on tvOS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should work on tvOS I just forget to add it
|
Hi @@paulober. Due to inactivity, we will close this pull request in 7 days. |
Add support for Icon Composer (.icon) app icons
This adds support for Xcode Icon Composer based
.iconfolders introduced in macOS 26 Tahoe's Liquid Glass design system (see #24132).Changes
.iconfolders: Treats.icondirectories as asset catalogs alongside.xcassetsicon.jsonfiles: Handlesicon.jsonmetadata files in addition toContents.json--app-iconflag:.icon-based icons now pass validation and get the--app-iconflag passed toactoolIncludeAllAppIconsfor runtime icon switchingBackground
The new
.iconformat is a folder structure containing:icon.json- Icon metadata (layers, materials, effects)Assets/subfolder - Vector graphics and image assetsThis replaces static
.icnsfiles to support Liquid Glass features like translucency, specular lighting, and cross-platform rendering.Usage
Add
.iconfolders to your project:The build system will:
.iconfolder as a valid app iconactoolwith the--app-icon AppIconflagAssets.carTesting
I could not figure out based on the docs how to get it installed locally to test it with my MAUI app. Advices would be appreciated.