Page tree
Skip to end of metadata
Go to start of metadata

The first step towards debugging your iOS application on a remotely located device using Remote Debugging, is building your application. The process of building your application compiles the code, installs the application on the selected device. From there on you can interact with your application and debug it by setting breakpoints at the functions that handle specific actions.

Provision Profile and Code Signing

Before you move on to build and test your application you must make sure you have properly configured your provision profile, so that you can code sign the application. Code signing the application in the build process is mandatory or the app will not be installed on the device.

Registering a Device

If the device you connected via a Remote Debugging session is not listed under your developer account, Xcode will prompt you to add it.

Building and Running your Application

Once a device has been connected to your machine via a Remote Debugging session, and you have properly configured your provision profile and enabled "Automatically Manage Signing" in the General settings tab of your app (see screenshot), you can install and run the application on the device. 

Manually Testing the Application

Once the app has been built and deployed, switch back to the device that you have previously connected via Remote Debugging. You will see the app on the device reflection and be able to interact with it manually.

To close the app, simply stop the running process from within Xcode.

You are now ready to debug your app for better development process and for troubleshooting issues if necessary.

  • No labels