I have the XD40 and like already stated, safe to dry fire.
On another forum dedicated to the XD I have seen some that reported the striker retaining pin has cracked after alot of dry firing, but even so its an easy fix. Snap caps would eliminate any concerns you might have.