I've created a GPX file and added it to my project. If I have my project running, I can select the GPX file from the dropdown of possible locations to simulate and have it correctly apply the defined path.
The project contains 2 schemes: the Main Scheme and the MainTest Scheme. I've set up both to use the GPX file as the "Default Location" on the "Options" tab. Further, Under the "Test" area of both schemes, I've specified the same file again.
When I Run the app on a simulator, it correctly applies the simulated location. However, when I run my tests, the simulated location is not applied. I'm at a loss to exaplain why the the tests are not automatically applying the location. Once the tests are compiled and installed on the simulator/test device, I can apply the desired simulated location with the dropdown in Xcode. However, in order to set up automated tests, the scheme needs to properly apply the target simulated location since there is no way to set the simulated lcoation from the test scripts. Is there something else I am missing?