xmp files? You need Lightroom Classic or the desktop version of mobile Lightroom for that! Exporting, or sharing as original from those will get you a raw file with an xmp sidecar but only for non-dng raw files. in dngs, jpegs, tiffs, etc. the xmp data just gets put in the metadata inside the file.