Skip to content

Fix supportedDestinations presets being injected when settingPresets is none#1599

Merged
yonaskolb merged 1 commit intoyonaskolb:masterfrom
macguru:supportedDestinations-presets
Mar 5, 2026
Merged

Fix supportedDestinations presets being injected when settingPresets is none#1599
yonaskolb merged 1 commit intoyonaskolb:masterfrom
macguru:supportedDestinations-presets

Conversation

@macguru
Copy link
Contributor

@macguru macguru commented Mar 4, 2026

Gate the supportedDestinations YAML preset block inside the applyTarget check so that settingPresets: none (and project) suppresses Catalyst-related settings (SUPPORTS_MACCATALYST, SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD, SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD) that were previously always injected.

Fixes #1598

…is none

Gate the supportedDestinations YAML preset block inside the applyTarget check so that settingPresets: none (and project) suppresses Catalyst-related settings (SUPPORTS_MACCATALYST, SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD, SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD) that were previously always injected.

Fixes yonaskolb#1598
Copy link
Owner

@yonaskolb yonaskolb left a comment

Choose a reason for hiding this comment

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

Thanks @macguru

@yonaskolb yonaskolb merged commit 4c3d558 into yonaskolb:master Mar 5, 2026
3 checks passed
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.

Catalyst compiler options injected even if settingPresets is "none"

2 participants