Does Xcode have the capability to utilize GPX files without using the location simulator?

I am able to change my location by using the GPX files. found in the Simulate Location drop down after launching the app. However, I want to know if there s a way to make a set of buttons with different locations to spoof the gps to said locations upon clicking them. Or is there no location-changing support outside of the debug?

I m not sure how weather apps deliver weather information based on an inputed location, but I feel like some may trick the iPhone into thinking it s in another city then giving the local weather information.

Thanks

2017-04-11T00:37:33.809Z