Hello,
Take my apologies for the delay in answering.
Error comes because of the third-party swatches plugin that you use. They have the following file https://prnt.sc/1twwdtc where they add compatibility with the premium themes. Please, contact the plugin author and ask them to add compatibility with the XStore theme too.
Regards