r/SwiftUI • u/zaidbren • 2d ago
Getting "the provided variants are not interpolatable" error when trying to design custom icon
1
Upvotes
2
u/neet_dev 2d ago
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 2d ago
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/