Newer Version Available

This content describes an older version of this product. View Latest

iOS Simulator Setup

During development it’s convenient to test your code in a virtual device. Use Xcode to create a device simulator, and install the virtual device build of your mobile app into it.

Configure Minimum Required iOS Simulator Settings

Ensure your virtual device meets the minimum device and iOS version requirements to run your mobile app.
Review the minimum requirements for your mobile app.
  1. Download and install the latest version of Xcode. If you already have Xcode installed, there’s no need to reinstall it.
  2. Launch Xcode.
  3. In the menu bar, select Xcode | Open Developer Tool | Simulator.
    A new program called Simulator opens, displaying a mobile screen.
  4. Go to File | Open Simulator to choose your preferred device.
    If you want to create a simulator, go to File | New Simulator and follow the prompts.
After the device simulator launches you can close Xcode, but keep the Simulator app’s window open to install the Field Service app in the next section.

Install the Field Service App for iOS

To run the Field Service mobile app in an iOS simulator, download and install a virtual device build of the app. After it’s installed, open the app and log into your development org.
  1. Download the latest iOS virtual device build of the Salesforce Field Service mobile app zip file.
  2. Double-click the downloaded zip file to extract the app file.
  3. Drag the downloaded .app file into the Simulator window.
  4. In Simulator, click (a simulated tap in this case) the newly installed Field Service app to open it.
    If you don’t see the app on the first page, it’s probably installed on a different app page. You can swipe the page with your mouse to see additional pages to find the app.
  5. Click (simulator tap, you get the idea) the Field Service app. Click Get Started.
  6. Click the screen to run through the tutorial or click Skip.
  7. Click Log In.
  8. Click I Agree to agree to the Order Form Supplement agreement.
  9. Click Gear icon and select a connection.

    If you’re logging in as a community user for the first time, click Plus icon to add a new connection.

    • For Host, enter your org’s URL in the following format: https://[yourURL].my.salesforce.com.
    • For Label, enter a nickname for your connection.

    Warning

  10. Click Done.
  11. Enter your username and password for your org.
  12. Click Log In.
  13. Click Allow to allow the app to access your Salesforce information.
  14. Click through the various permissions screens and allow them the appropriate access.
    When finished, you arrive at the app’s home screen.