It is important to test the integration of your application with the AirWatch SDK, including the delivery of profiles from the AirWatch Console to your application.

Initialize the SDK in your application to set communication with the AirWatch server and test the application.

  1. Enroll your test device.

    Enroll devices to the AirWatch Console to enable communication between them.

    The SDK does not currently support testing in a simulator.

  2. Upload the SDK-built app or a placeholder application that has the same bundle ID as the testing application.

    Create an empty application with the bundle ID of the testing-application to identify the application. Upload the empty application to the console and assign a default or custom SDK profile to it.

  3. Assign an SDK profile to the application.

    If you do not assign a profile, the SDK does not initialize correctly.

    This step enables the console to send commands to the application with the record.

  4. Push the application to test devices.

    You save the application and assign it using the flexible deployment feature. Flexible deployment rules push the application to test devices with the app catalog. Use devices for testing that are AirWatch managed devices.

    You do not have to repush the application every time you make a change.

  5. Run your application in Xcode.

    Run your application in Xcode. The console pushes the initialization data to the application when the application installs on test devices. After the application initializes, you can run the application as many times as you want to debug it.