How to simulate a route on a smart trainer?

Hello Guys

It is possible to simulate a route on a smart trainer with a gpx file.

I have downloaded a gpx file from komoot of a climb that I would like to simulate on my smart trainer.

I am using a wahoo kickr snap as my smart trainer and would like to use an IOS device or a MacBook

Any ideas?