How to avoid simulated locations from GPX to loop

Hi,

I want to simulate a trip using GPX and XCode location simulator to emulate someone going from A to B. This is working fine aside that once B is reached the location will jump back to A and loop again.

Is there a way to ensure that once B its reach the simulated location stays to B?

I tried both solution described here but none work :(

Thanks

Xcode version 12.0.1