Sometimes it is might be easier to use SwiftUI's Shape
rather than operating SVG files. So, there is a tool to convert SVG to SwiftUI's Shape structure. This approach is much more memory efficient than introducing a SVG library for rendering.

GitHub: SVG-to-SwiftUI
Reference: SVG to SwiftUI Converter