- 06 Jul 2023
- 2 Minutes to read
- Print
- DarkLight
Local Testing of iOS Devices using PDA
- Updated on 06 Jul 2023
- 2 Minutes to read
- Print
- DarkLight
Overview:
This documentation will help you with the steps to connect to iOS devices from your local maching using the iOS Tunnel feature on the pCloudy Desktop Application (PDA). Incase you haven't downloaded or installed the PDA on your system or need help with the installation please click here.
This feature allows you to connect an iOS device virtually to your local machine and use it to debug from any IDE (Eclipse, XCode, etc).
Prerequisite
- Users should have already downloaded and installed the PDA application on their system
- Users should be registered on the pCloudy platform.
iOS Tunnel
Note: iOS tunnel can be used only on Mac machine. It is not supported on Windows/Linux OS.
Download the PDA and move it to Applications.
Open PDA from Applications
While launching the installed PDA app If user gets a popup. Follow below mentioned steps-:
- Goto Settings(System Preference) and Navigate to Security&Privacy.
- In Security&Privacy under General tab user will find the pcloudy-desktop-assistant under Allow apps downloaded from.
- Select the button open anyway
- Select open on the next prompt.
- If user wish to use iOS tunnel feature,the PDA app needs to be launched from command line
sudo /Applications/(application-name).app/Contents/MacOS/(application-name)
Click on the iOS tunnel feature. All the devices present on the platform will appear under selected device.
Important: User needs to download the prerequisite file by clicking on the download icon. These files are necessary to run the iOS tunnel
Select the device, select the duration and click on start device tunnel
Note: A user can only select one ios device at a time.
Once file is downloaded, blue icon will turn to a green check
Once the process is initialized and the devices are booked, a success notification will appear.
Once the process is initialized, the devices will be booked and a Success notification will appear.
Once the device is connected, it will appear in PDA under connected device label.
To check if the device is booked please login to the pCloudy platform navigate to "My Active session"(for Public Device Users) and "My Bookings" (for Private Cloud Users) and connect the device.
To verify the device connectivity on terminal, use below command
idevice_id -l
Using this, user will get UDID of the connected device
- To get device info use the command below -
ideviceinfo | grep Prod
User will be able to verify the device information such as Product name, version, etc.
- To view the device in XCode
- Open the XCode
- Go to Window Devices and Simulators
- Connected device will appear here