Perfecto's Remote Device Access feature provides the ability to debug iOS mobile apps on real devices under realistic conditions. This speeds the process of validating new features and fixing bugs that only show up under specific environments or conditions.

 

Watch the video above, or follow the step-by-step below…

Start the Connection

1. Open the target Perfecto Lab device in a Perfecto Interactive interface window.

step 1 open the connection with devtunnel

2. Go to the Perfecto widgets, and click the DevTunnel widget.

step 2 interface devtunnel

Note: If this is the session when you have downloaded the installer package, start the connection by clicking on the Start DevTunnel session step in the Setup popup:

step 3 start session with devtunnel

Note: If this is the first time that you are connecting a device with DevTunnel, you may receive the following prompt:

If prompted as in the image, click Open.

step 4 prompt devtunnel

3. Click Open DevTunnelHelper when prompted.

Note: Click the Open PerfectoHelper button within 30 seconds. If request times out the connection will fail.

step 5 open perfecto helper with devtunnel

Note: Prior to making the connection, the DevTunnel service will test your connection to identify if your development station is connected to a proxy that requires authentication to complete the connection. If this is the case then you will be prompted to provide the proxy credentials before continuing:

step 6 proxy login with devtunnel

DevTunnel starts making the connection and displays a progress bar in the lower left area (below the widgets) of the window.

If the iOS symbols for the device have not been downloaded previously, the feature will prompt you (approximately when the progress bar indicates 50% completed) to download the symbols. If you are planning to work with a mobile application and the connected device – click Download iOS Symbols. The progress bar will indicate that the feature is “Downloading symbol files”:

If you are planning to work only with web applications and the connected device – click Skip and Continue, or allow the dialogue box to time out (there is a 30 second timeout set for the dialogue box) and the symbols will not be downloaded.

step 7 download ios symbols with devtunnel

The iOS symbols are necessary for work with mobile applications. These symbols are downloaded from the Perfecto Lab to your workstation. 

step 8 download symbol files with devtunnel

After the iOS symbols download are completed (at about 90%), DevTunnel completes the network communication and verifies the connection. The Perfecto Lab indicates that the device is connected:

step 9 device connected to devtunnel

In Xcode, you will now see that this device is available in menus pertaining to device selection: 

step 10 device selection with devtunnel

In addition, Safari > Developer will show the device as a connected device: 

step 11 safari developer connection

The device is identified by the device “Name” – configured in the device Settings (Settings>General>About):

step 12 setting general about

Congratulations! You now know how to connect a real, cloud-based mobile device from the Perfecto cloud into your development environment. Try it out with the next feature you’re building or run some of your own tests on different devices to see if your apps pass with flying colors on other platforms.