Customizing Your Simulator Experience with Xcode Schemes
You can customize your Simulator experience using the Xcode scheme editor. In fact, some Simulator features are accessible only within this editor. The biggest advantage of using an Xcode scheme is the ability to load app data files and to load routing app coverage files.
To access scheme settings
Choose Product > Scheme > Edit Scheme.
In the dialog that appears, click the Run option in the scheme editor’s left pane.
In the main pane, click Options.
Specify the options you want.
Core Location. If you want to define the default Core Location setting, select Allow Location Simulation and choose a default location from the pop-up menu.
To specify a route for the simulated device, choose “Use Add GPX File to Project” from the pop-up menu and select a file specifying the route in the GPX format. For more information on GPX, see The GPS Exchange Format.
Application Data. If you want to load app data into the simulator, choose the app data file from the pop-up menu. In this way, you can replicate the settings that were present when a problem occurred.
Routing App Coverage File. If your app uses routing, use this file to define the location boundaries in which your app will provide routes. For more information on routing app coverage files, see Location and Maps Programming Guide.
Background Fetch. Select this option if you want Xcode to launch your app directly into a suspended state.
Application Language. Change your app to use double-length or right-to-left pseudolanguage using this pop-up menu.
Application Region. Change the default region for your app using this pop-up menu.
XPC Services. Select this option to debug XPC services used by the app.
View Debugging. Select this option to enable debugging the view hierarchy of the simulated app in Xcode.
For more information, see Examine Your App’s View Hierarchy at Runtime.
For a description of the localization options, read Testing Your Internationalized App.
For more information on using schemes in Xcode, see Managing Schemes in Xcode Overview.