On my XS Max there is no RAW option in my camera settings or app.
I have been able to switch to RAW on my previous iPhone 7+ but not on my XS Max? Can't find the RAW setting in camera settings under format (not showing anything for RAW) or in the camera app.