Error description
In Xcode15.2, compile errors occur because attachmentAnchor argument of ornament modifier now demands UnitPoint instead of Alignment:
Cannot convert value of type `Alignment` to expected argument type 'UnitPoint'
Extraneous argument label 'alignment:' in call Remove 'alignment: '
Screenshots
Solution
Change Alignment with UnitPoint, like creating a new computed property unitPoint in the struct 'OrnamentAlignment'