Set up the XCode project to use -DUSE_SVG, and include homebrew-built versions of librsvg and cairo.