Customizing Your iOS Simulator Experience with Xcode Schemes

You can customize your iOS Simulator experience using the Xcode scheme editor. In fact, some iOS 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 routing app coverage files.

To access scheme settings

  1. Choose Product > Scheme > Edit Scheme.

  2. In the dialog that appears, click the Run option in the scheme editor’s left pane.

  3. In the main pane, click Options.

  4. 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.

    • 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.

    • GPU Frame Capture. Enable this option if you need to capture a GPU frame in the debug navigator in order to analyze function calls that render the frame.

    • Background Fetch. Select this option if you want Xcode to launch your app directly into a suspended state.

    For a description of the localization options, read Testing Your Internationalized App.

  5. Click Close.

For more information on using schemes in Xcode, see Create, Edit, and Manage Schemes.