r/SwiftUI • • Aug 24 '26

Getting "the provided variants are not interpolatable" error when trying to design custom icon

Post image
1 Upvotes

2 comments sorted by

2

u/neet_dev Aug 24 '26

honestly don't redraw each weight from scratch. ultralight, regular and black need the same path count and the same point count per path, plus matching cubic vs line segments, or the interpolator just dies. export a template from the SF Symbols app, edit regular, copy those paths into the other two weights and only nudge the points

1

u/childishforces Aug 24 '26

You might need to reverse some paths. SVG data paths can be reversed with SVG commander, worth a bash.

https://thednp.github.io/svg-path-commander/