XCTest & GPX Files: Can Location Updates Be Started Automatically?
问题 I have added a gpx file to my project; its name is TrailOfHistory.gpx. I have edited my project's scheme so that this file will be used by Xcode 9 to perform locations updates. Here are screen shots of the scheme's Run and Test configurations wherein I have designated that the gpx file should be used: When I run my application, user location updates (as given by the gpx file) begin automatically. I can watch this happening on my application's MKMapView. In contrast, when I run one of my unit