You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ios-maccatalyst head emits several MT7156 warnings about duplicate bundle resources during build:
warning MT7156: The BundleResource item 'obj/Debug/net10.0-ios/iossimulator-arm64/unoresizetizer/r/Assets/Icons/icon_foreground.png' was ignored, because there's another item with the same LogicalName ('Assets/Icons/icon_foreground.png')
warning MT7156: The BundleResource item '.../unoresizetizer/r/Assets/Icons/icon_foreground.scale-100.png' was ignored, because there's another item with the same LogicalName ('Assets/Icons/icon_foreground.png')
warning MT7156: The BundleResource item '.../unoresizetizer/r/Assets/Images/back.png' was ignored, because there's another item with the same LogicalName ('Assets/Images/back.png')
warning MT7156: The BundleResource item '.../unoresizetizer/r/Assets/Images/back.scale-100.png' was ignored, because there's another item with the same LogicalName ('Assets/Images/back.png')
warning MT7156: The BundleResource item '.../unoresizetizer/r/splash_screen.png' was ignored, because there's another item with the same LogicalName ('splash_screen.png')
warning MT7156: The BundleResource item '.../unoresizetizer/r/splash_screen.scale-100.png' was ignored, because there's another item with the same LogicalName ('splash_screen.png')
The project supplies SVG source assets (Assets/Icons/icon_foreground.svg, Assets/Splash/splash_screen.svg) that Uno's unoresizetizer MSBuild tooling rasterizes into multiple PNG variants (base + scale-100, etc.) under obj/.../unoresizetizer/r/.... On the ios/maccatalyst heads specifically, the generated scale-100 variant appears to collapse to the same LogicalName as the unscaled base variant (or an already-bundled back.png/splash_screen.png from elsewhere in the resource pipeline), so one copy silently wins and the other is dropped. The build still succeeds and produces a working icon/splash - this is a warning about redundant bundling, not a missing asset - but it's worth confirming nothing visually regresses (e.g. wrong icon scale bundled) since we can't visually verify the iOS/macCatalyst app locally (no Xcode/simulator available in this environment).
back.png doesn't correspond to any file directly under samples/todoapp/TodoApp.Uno/TodoApp.Uno/Assets/ - it may be a default asset pulled in via Uno.Toolkit/Uno.Extensions.Navigation (the project uses both via UnoFeatures) for a default back-navigation icon.
Suggested fix
Investigate whether this is expected, benign unoresizetizer behavior for any Uno Single Project app with SVG-sourced icons/splash screens on ios/maccatalyst (in which case it may not be actionable in this repo at all, similar to Investigate resolving NU1903 for Tmds.DBus in Uno desktop sample #506/Major-version bump: Uno Platform 5 -> 6 (TodoApp.Uno sample) #524's now-resolved Uno.Wasm.Bootstrap-style ecosystem quirks), or a genuine duplicate-inclusion bug in how this project's Assets folder/UnoIcon/UnoSplashScreen items are wired up.
If it's the latter, identify and remove the duplicate resource inclusion.
If it's expected/benign, consider whether it's worth reporting upstream to Uno Platform, or just documenting/suppressing here.
Summary
The
ios-maccatalysthead emits severalMT7156warnings about duplicate bundle resources during build:CI run: https://github.com/CommunityToolkit/Datasync/actions/runs/29093946725 (
todoapp-uno / ios-maccatalystjob)Root cause (tentative - needs investigation)
The project supplies SVG source assets (
Assets/Icons/icon_foreground.svg,Assets/Splash/splash_screen.svg) that Uno'sunoresizetizerMSBuild tooling rasterizes into multiple PNG variants (base +scale-100, etc.) underobj/.../unoresizetizer/r/.... On theios/maccatalystheads specifically, the generatedscale-100variant appears to collapse to the sameLogicalNameas the unscaled base variant (or an already-bundledback.png/splash_screen.pngfrom elsewhere in the resource pipeline), so one copy silently wins and the other is dropped. The build still succeeds and produces a working icon/splash - this is a warning about redundant bundling, not a missing asset - but it's worth confirming nothing visually regresses (e.g. wrong icon scale bundled) since we can't visually verify the iOS/macCatalyst app locally (no Xcode/simulator available in this environment).back.pngdoesn't correspond to any file directly undersamples/todoapp/TodoApp.Uno/TodoApp.Uno/Assets/- it may be a default asset pulled in viaUno.Toolkit/Uno.Extensions.Navigation(the project uses both viaUnoFeatures) for a default back-navigation icon.Suggested fix
unoresizetizerbehavior for any Uno Single Project app with SVG-sourced icons/splash screens onios/maccatalyst(in which case it may not be actionable in this repo at all, similar to Investigate resolving NU1903 for Tmds.DBus in Uno desktop sample #506/Major-version bump: Uno Platform 5 -> 6 (TodoApp.Uno sample) #524's now-resolvedUno.Wasm.Bootstrap-style ecosystem quirks), or a genuine duplicate-inclusion bug in how this project'sAssetsfolder/UnoIcon/UnoSplashScreenitems are wired up.