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 application data files and routing app coverage files.

To access scheme settings

  1. Click the scheme name in the scheme pop-up menu, and choose Edit Scheme.

  2. When the Edit Scheme window opens, 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, select the application 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.

    • OpenGL ES Frame Capture. Enable this option if you need to capture an OpenGL ES frame in the debug navigator inorder to analyze the OpenGL function calls that render the frame.

    • Enable Performance Analysis. Enable this option in order to perform realtime performance analysis of an OpenGL ES app.

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

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