Article that shows how to let Xcode generate PNGs from PDF vector files at build time: http://martiancraft.com/blog/2014/09/vector-images-xcode6/. Requires an asset catalog. Requires a special format "PDF vector files" - whatever that is. Unclear at the moment whether Inkscape can create this file format.
Third party library to draw SVG icons at runtime: https://github.com/SVGKit/SVGKit/. Supports CocoaPods. Read somewhere (I think it was Quora) that this is buggy and CPU hungry. It's easy to check the "buggy" claim, but rendering a couple of static icons can't be that bad.
Added support for Scalable Vector Graphic (SVG) image assets. These preserve their vector representation with deployment targets of macOS 10.15 or later, iOS 13 or later, and iPadOS 13 or later. (18389814)
Article that shows how to let Xcode generate PNGs from PDF vector files at build time: http://martiancraft.com/blog/2014/09/vector-images-xcode6/. Requires an asset catalog. Requires a special format "PDF vector files" - whatever that is. Unclear at the moment whether Inkscape can create this file format.
Third party library to draw SVG icons at runtime: https://github.com/SVGKit/SVGKit/. Supports CocoaPods. Read somewhere (I think it was Quora) that this is buggy and CPU hungry. It's easy to check the "buggy" claim, but rendering a couple of static icons can't be that bad.